chore: update stage0
This commit is contained in:
parent
f5ba036d8f
commit
0ca7dabb2a
91 changed files with 10841 additions and 10105 deletions
16
stage0/src/Init/Core.lean
generated
16
stage0/src/Init/Core.lean
generated
|
|
@ -16,22 +16,6 @@ def inline {α : Sort u} (a : α) : α := a
|
|||
@[inline] def flip {α : Sort u} {β : Sort v} {φ : Sort w} (f : α → β → φ) : β → α → φ :=
|
||||
fun b a => f a b
|
||||
|
||||
/-
|
||||
The kernel definitional equality test (t =?= s) has special support for idDelta applications.
|
||||
It implements the following rules
|
||||
|
||||
1) (idDelta t) =?= t
|
||||
2) t =?= (idDelta t)
|
||||
3) (idDelta t) =?= s IF (unfoldOf t) =?= s
|
||||
4) t =?= idDelta s IF t =?= (unfoldOf s)
|
||||
|
||||
This is mechanism for controlling the delta reduction (aka unfolding) used in the kernel.
|
||||
|
||||
We use idDelta applications to address performance problems when Type checking
|
||||
theorems generated by the equation Compiler.
|
||||
-/
|
||||
@[inline] def idDelta {α : Sort u} (a : α) : α := a
|
||||
|
||||
/- Remark: thunks have an efficient implementation in the runtime. -/
|
||||
structure Thunk (α : Type u) : Type u :=
|
||||
(fn : Unit → α)
|
||||
|
|
|
|||
5
stage0/src/Init/Data/ToString/Macro.lean
generated
5
stage0/src/Init/Data/ToString/Macro.lean
generated
|
|
@ -10,7 +10,4 @@ import Init.Data.ToString.Basic
|
|||
syntax:max "s!" interpolatedStr(term) : term
|
||||
|
||||
macro_rules
|
||||
| `(s! $interpStr) => do
|
||||
let chunks := interpStr.getArgs
|
||||
let r ← Lean.Syntax.expandInterpolatedStrChunks chunks (fun a b => `($a ++ $b)) (fun a => `(toString $a))
|
||||
`(($r : String))
|
||||
| `(s! $interpStr) => do interpStr.expandInterpolatedStr (← `(String)) (← `(toString))
|
||||
|
|
|
|||
5
stage0/src/Init/Meta.lean
generated
5
stage0/src/Init/Meta.lean
generated
|
|
@ -664,6 +664,11 @@ def expandInterpolatedStrChunks (chunks : Array Syntax) (mkAppend : Syntax → S
|
|||
i := i+1
|
||||
return result
|
||||
|
||||
def expandInterpolatedStr (interpStr : Syntax) (type : Syntax) (toTypeFn : Syntax) : MacroM Syntax := do
|
||||
let ref := interpStr
|
||||
let r ← expandInterpolatedStrChunks interpStr.getArgs (fun a b => `($a ++ $b)) (fun a => `($toTypeFn $a))
|
||||
`(($r : $type))
|
||||
|
||||
def getSepArgs (stx : Syntax) : Array Syntax :=
|
||||
stx.getArgs.getSepElems
|
||||
|
||||
|
|
|
|||
6
stage0/src/Init/Notation.lean
generated
6
stage0/src/Init/Notation.lean
generated
|
|
@ -78,3 +78,9 @@ macro_rules
|
|||
| i+1, true => expandListLit i false result
|
||||
| i+1, false => expandListLit i true (← `(List.cons $(elems[i]) $result))
|
||||
expandListLit elems.size false (← `(List.nil))
|
||||
|
||||
syntax "{ " ident (" : " term)? " // " term " }" : term
|
||||
|
||||
macro_rules
|
||||
| `({ $x : $type // $p }) => `(Subtype (fun ($x:ident : $type) => $p))
|
||||
| `({ $x // $p }) => `(Subtype (fun ($x:ident : _) => $p))
|
||||
|
|
|
|||
36
stage0/src/Init/Prelude.lean
generated
36
stage0/src/Init/Prelude.lean
generated
|
|
@ -9,6 +9,25 @@ universes u v w
|
|||
|
||||
@[inline] def id {α : Sort u} (a : α) : α := a
|
||||
|
||||
/-
|
||||
The kernel definitional equality test (t =?= s) has special support for idDelta applications.
|
||||
It implements the following rules
|
||||
|
||||
1) (idDelta t) =?= t
|
||||
2) t =?= (idDelta t)
|
||||
3) (idDelta t) =?= s IF (unfoldOf t) =?= s
|
||||
4) t =?= idDelta s IF t =?= (unfoldOf s)
|
||||
|
||||
This is mechanism for controlling the delta reduction (aka unfolding) used in the kernel.
|
||||
|
||||
We use idDelta applications to address performance problems when Type checking
|
||||
theorems generated by the equation Compiler.
|
||||
-/
|
||||
@[inline] def idDelta {α : Sort u} (a : α) : α := a
|
||||
|
||||
/- `idRhs` is an auxiliary declaration used to implement "smart unfolding". It is used as a marker. -/
|
||||
@[macroInline, reducible] def idRhs (α : Sort u) (a : α) : α := a
|
||||
|
||||
abbrev Function.comp {α : Sort u} {β : Sort v} {δ : Sort w} (f : β → δ) (g : α → β) : α → δ :=
|
||||
fun x => f (g x)
|
||||
|
||||
|
|
@ -559,7 +578,7 @@ theorem Nat.leOfSuccLeSucc {n m : Nat} : LessEq (succ n) (succ m) → LessEq n m
|
|||
theorem Nat.leOfLtSucc {m n : Nat} : Less m (succ n) → LessEq m n :=
|
||||
leOfSuccLeSucc
|
||||
|
||||
@[extern "lean_system_platform_nbits"] constant System.Platform.getNumBits : Unit → { n : Nat // Or (Eq n 32) (Eq n 64) } :=
|
||||
@[extern "lean_system_platform_nbits"] constant System.Platform.getNumBits : Unit → Subtype fun (n : Nat) => Or (Eq n 32) (Eq n 64) :=
|
||||
fun _ => ⟨64, Or.inr rfl⟩ -- inhabitant
|
||||
|
||||
def System.Platform.numBits : Nat :=
|
||||
|
|
@ -600,6 +619,9 @@ def UInt8.size : Nat := 256
|
|||
structure UInt8 :=
|
||||
(val : Fin UInt8.size)
|
||||
|
||||
attribute [extern "lean_uint8_of_nat"] UInt8.mk
|
||||
attribute [extern "lean_uint8_to_nat"] UInt8.val
|
||||
|
||||
@[extern "lean_uint8_of_nat"]
|
||||
def UInt8.ofNatCore (n : @& Nat) (h : Less n UInt8.size) : UInt8 := {
|
||||
val := { val := n, isLt := h }
|
||||
|
|
@ -622,6 +644,9 @@ def UInt16.size : Nat := 65536
|
|||
structure UInt16 :=
|
||||
(val : Fin UInt16.size)
|
||||
|
||||
attribute [extern "lean_uint16_of_nat"] UInt16.mk
|
||||
attribute [extern "lean_uint16_to_nat"] UInt16.val
|
||||
|
||||
@[extern "lean_uint16_of_nat"]
|
||||
def UInt16.ofNatCore (n : @& Nat) (h : Less n UInt16.size) : UInt16 := {
|
||||
val := { val := n, isLt := h }
|
||||
|
|
@ -644,6 +669,9 @@ def UInt32.size : Nat := 4294967296
|
|||
structure UInt32 :=
|
||||
(val : Fin UInt32.size)
|
||||
|
||||
attribute [extern "lean_uint32_of_nat"] UInt32.mk
|
||||
attribute [extern "lean_uint32_to_nat"] UInt32.val
|
||||
|
||||
@[extern "lean_uint32_of_nat"]
|
||||
def UInt32.ofNatCore (n : @& Nat) (h : Less n UInt32.size) : UInt32 := {
|
||||
val := { val := n, isLt := h }
|
||||
|
|
@ -690,6 +718,9 @@ def UInt64.size : Nat := 18446744073709551616
|
|||
structure UInt64 :=
|
||||
(val : Fin UInt64.size)
|
||||
|
||||
attribute [extern "lean_uint64_of_nat"] UInt64.mk
|
||||
attribute [extern "lean_uint64_to_nat"] UInt64.val
|
||||
|
||||
@[extern "lean_uint64_of_nat"]
|
||||
def UInt64.ofNatCore (n : @& Nat) (h : Less n UInt64.size) : UInt64 := {
|
||||
val := { val := n, isLt := h }
|
||||
|
|
@ -719,6 +750,9 @@ theorem usizeSzEq : Or (Eq USize.size 4294967296) (Eq USize.size 184467440737095
|
|||
structure USize :=
|
||||
(val : Fin USize.size)
|
||||
|
||||
attribute [extern "lean_usize_of_nat"] USize.mk
|
||||
attribute [extern "lean_usize_to_nat"] USize.val
|
||||
|
||||
@[extern "lean_usize_of_nat"]
|
||||
def USize.ofNatCore (n : @& Nat) (h : Less n USize.size) : USize := {
|
||||
val := { val := n, isLt := h }
|
||||
|
|
|
|||
5
stage0/src/Lean/Data/FormatMacro.lean
generated
5
stage0/src/Lean/Data/FormatMacro.lean
generated
|
|
@ -9,9 +9,6 @@ namespace Lean
|
|||
syntax:max "f!" interpolatedStr(term) : term
|
||||
|
||||
macro_rules
|
||||
| `(f! $interpStr) => do
|
||||
let chunks := interpStr.getArgs
|
||||
let r ← Lean.Syntax.expandInterpolatedStrChunks chunks (fun a b => `($a ++ $b)) (fun a => `(fmt $a))
|
||||
`(($r : Format))
|
||||
| `(f! $interpStr) => do interpStr.expandInterpolatedStr (← `(Format)) (← `(fmt))
|
||||
|
||||
end Lean
|
||||
|
|
|
|||
8
stage0/src/Lean/Elab/App.lean
generated
8
stage0/src/Lean/Elab/App.lean
generated
|
|
@ -492,7 +492,7 @@ private def resolveLValAux (e : Expr) (eType : Expr) (lval : LVal) : TermElabM L
|
|||
So, we don't projection functions for it. Thus, we use `Expr.proj` -/
|
||||
pure $ LValResolution.projIdx structName (idx - 1)
|
||||
else
|
||||
throwLValError e eType msg!"invalid projection, structure has only {fieldNames.size} field(s)"
|
||||
throwLValError e eType m!"invalid projection, structure has only {fieldNames.size} field(s)"
|
||||
| Expr.const structName _ _, LVal.fieldName fieldName =>
|
||||
let env ← getEnv
|
||||
let searchEnv : Unit → TermElabM LValResolution := fun _ => do
|
||||
|
|
@ -500,7 +500,7 @@ private def resolveLValAux (e : Expr) (eType : Expr) (lval : LVal) : TermElabM L
|
|||
| some (baseStructName, fullName) => pure $ LValResolution.const baseStructName structName fullName
|
||||
| none =>
|
||||
throwLValError e eType
|
||||
msg!"invalid field notation, '{fieldName}' is not a valid \"field\" because environment does not contain '{Name.mkStr structName fieldName}'"
|
||||
m!"invalid field notation, '{fieldName}' is not a valid \"field\" because environment does not contain '{Name.mkStr structName fieldName}'"
|
||||
-- search local context first, then environment
|
||||
let searchCtx : Unit → TermElabM LValResolution := fun _ => do
|
||||
let fullName := Name.mkStr structName fieldName
|
||||
|
|
@ -526,7 +526,7 @@ private def resolveLValAux (e : Expr) (eType : Expr) (lval : LVal) : TermElabM L
|
|||
let fullName := Name.mkStr structName "getOp"
|
||||
match env.find? fullName with
|
||||
| some _ => pure $ LValResolution.getOp fullName idx
|
||||
| none => throwLValError e eType msg!"invalid [..] notation because environment does not contain '{fullName}'"
|
||||
| none => throwLValError e eType m!"invalid [..] notation because environment does not contain '{fullName}'"
|
||||
| _, LVal.getOp idx =>
|
||||
throwLValError e eType "invalid [..] notation, type is not of the form (C ...) where C is a constant"
|
||||
| _, _ =>
|
||||
|
|
@ -791,7 +791,7 @@ private def toMessageData (ex : Exception) : TermElabM MessageData := do
|
|||
else
|
||||
let fileMap ← MonadLog.getFileMap -- Remove `MonadLog.` it is a workaround for old frontend
|
||||
let exPosition := fileMap.toPosition exPos
|
||||
pure msg!"{exPosition.line}:{exPosition.column} {ex.toMessageData}"
|
||||
pure m!"{exPosition.line}:{exPosition.column} {ex.toMessageData}"
|
||||
|
||||
private def toMessageList (msgs : Array MessageData) : MessageData :=
|
||||
indentD (MessageData.joinSep msgs.toList (Format.line ++ Format.line))
|
||||
|
|
|
|||
8
stage0/src/Lean/Elab/Command.lean
generated
8
stage0/src/Lean/Elab/Command.lean
generated
|
|
@ -211,7 +211,7 @@ instance : MonadRecDepth CommandElabM := {
|
|||
pure ()
|
||||
else
|
||||
let idName ← liftIO $ id.getName;
|
||||
logError msg!"internal exception {idName}"
|
||||
logError m!"internal exception {idName}"
|
||||
|
||||
builtin_initialize registerTraceClass `Elab.command
|
||||
|
||||
|
|
@ -412,7 +412,7 @@ partial def elabChoiceAux (cmds : Array Syntax) (i : Nat) : CommandElabM Unit :=
|
|||
throwError (ex.toMessageData opts)
|
||||
|
||||
def logUnknownDecl (declName : Name) : CommandElabM Unit :=
|
||||
logError msg!"unknown declaration '{declName}'"
|
||||
logError m!"unknown declaration '{declName}'"
|
||||
|
||||
@[builtinCommandElab «export»] def elabExport : CommandElab := fun stx => do
|
||||
-- `stx` is of the form (Command.export "export" <namespace> "(" (null <ids>*) ")")
|
||||
|
|
@ -522,7 +522,7 @@ open Meta
|
|||
let e ← Term.elabTerm term none
|
||||
Term.synthesizeSyntheticMVarsNoPostponing
|
||||
let type ← inferType e
|
||||
logInfo msg!"{e} : {type}"
|
||||
logInfo m!"{e} : {type}"
|
||||
|
||||
def hasNoErrorMessages : CommandElabM Bool := do
|
||||
return !(← get).messages.hasErrors
|
||||
|
|
@ -630,7 +630,7 @@ def setOption (optionName : Name) (val : DataValue) : CommandElabM Unit := do
|
|||
match val with
|
||||
| Syntax.atom _ "true" => setOption optionName (DataValue.ofBool true)
|
||||
| Syntax.atom _ "false" => setOption optionName (DataValue.ofBool false)
|
||||
| _ => logErrorAt val msg!"unexpected set_option value {val}"
|
||||
| _ => logErrorAt val m!"unexpected set_option value {val}"
|
||||
|
||||
@[builtinMacro Lean.Parser.Command.«in»] def expandInCmd : Macro := fun stx => do
|
||||
let cmd₁ := stx[0]
|
||||
|
|
|
|||
22
stage0/src/Lean/Elab/Do.lean
generated
22
stage0/src/Lean/Elab/Do.lean
generated
|
|
@ -163,19 +163,19 @@ private def varsToMessageData (vars : Array Name) : MessageData :=
|
|||
partial def CodeBlocl.toMessageData (codeBlock : CodeBlock) : MessageData :=
|
||||
let us := MessageData.ofList $ (nameSetToArray codeBlock.uvars).toList.map MessageData.ofName
|
||||
let rec loop : Code → MessageData
|
||||
| Code.decl xs _ k => msg!"let {varsToMessageData xs} := ...\n{loop k}"
|
||||
| Code.reassign xs _ k => msg!"{varsToMessageData xs} := ...\n{loop k}"
|
||||
| Code.joinpoint n ps body k => msg!"let {n.simpMacroScopes} {varsToMessageData (ps.map Prod.fst)} := {indentD (loop body)}\n{loop k}"
|
||||
| Code.seq e k => msg!"{e}\n{loop k}"
|
||||
| Code.decl xs _ k => m!"let {varsToMessageData xs} := ...\n{loop k}"
|
||||
| Code.reassign xs _ k => m!"{varsToMessageData xs} := ...\n{loop k}"
|
||||
| Code.joinpoint n ps body k => m!"let {n.simpMacroScopes} {varsToMessageData (ps.map Prod.fst)} := {indentD (loop body)}\n{loop k}"
|
||||
| Code.seq e k => m!"{e}\n{loop k}"
|
||||
| Code.action e => e
|
||||
| Code.ite _ _ _ c t e => msg!"if {c} then {indentD (loop t)}\nelse{loop e}"
|
||||
| Code.jmp _ j xs => msg!"jmp {j.simpMacroScopes} {xs.toList}"
|
||||
| Code.«break» _ => msg!"break {us}"
|
||||
| Code.«continue» _ => msg!"continue {us}"
|
||||
| Code.«return» _ v => msg!"return {v} {us}"
|
||||
| Code.ite _ _ _ c t e => m!"if {c} then {indentD (loop t)}\nelse{loop e}"
|
||||
| Code.jmp _ j xs => m!"jmp {j.simpMacroScopes} {xs.toList}"
|
||||
| Code.«break» _ => m!"break {us}"
|
||||
| Code.«continue» _ => m!"continue {us}"
|
||||
| Code.«return» _ v => m!"return {v} {us}"
|
||||
| Code.«match» _ ds t alts =>
|
||||
msg!"match {ds} with"
|
||||
++ alts.foldl (init := "") fun acc alt => acc ++ msg!"\n| {alt.patterns} => {loop alt.rhs}"
|
||||
m!"match {ds} with"
|
||||
++ alts.foldl (init := "") fun acc alt => acc ++ m!"\n| {alt.patterns} => {loop alt.rhs}"
|
||||
loop codeBlock.code
|
||||
|
||||
/- Return true if the give code contains an exit point that satisfies `p` -/
|
||||
|
|
|
|||
2
stage0/src/Lean/Elab/Inductive.lean
generated
2
stage0/src/Lean/Elab/Inductive.lean
generated
|
|
@ -138,7 +138,7 @@ private partial def checkParamsAndResultType (type firstType : Expr) (numParams
|
|||
| _ =>
|
||||
throwError "unexpected inductive resulting type"
|
||||
catch
|
||||
| Exception.error ref msg => throw (Exception.error ref msg!"invalid mutually inductive types, {msg}")
|
||||
| Exception.error ref msg => throw (Exception.error ref m!"invalid mutually inductive types, {msg}")
|
||||
| ex => throw ex
|
||||
|
||||
-- Auxiliary function for checking whether the types in mutually inductive declaration are compatible.
|
||||
|
|
|
|||
2
stage0/src/Lean/Elab/MutualDef.lean
generated
2
stage0/src/Lean/Elab/MutualDef.lean
generated
|
|
@ -65,7 +65,7 @@ private def check (prevHeaders : Array DefViewElabHeader) (newHeader : DefViewEl
|
|||
checkModifiers newHeader.modifiers firstHeader.modifiers
|
||||
checkKinds newHeader.kind firstHeader.kind
|
||||
catch
|
||||
| Exception.error ref msg => throw (Exception.error ref msg!"invalid mutually recursive definitions, {msg}")
|
||||
| Exception.error ref msg => throw (Exception.error ref m!"invalid mutually recursive definitions, {msg}")
|
||||
| ex => throw ex
|
||||
else
|
||||
pure ()
|
||||
|
|
|
|||
2
stage0/src/Lean/Elab/PreDefinition/Main.lean
generated
2
stage0/src/Lean/Elab/PreDefinition/Main.lean
generated
|
|
@ -75,6 +75,6 @@ def addPreDefinitions (preDefs : Array PreDefinition) : TermElabM Unit := do
|
|||
(WFRecursion preDefs))
|
||||
(fun msg =>
|
||||
let preDefMsgs := preDefs.toList.map (MessageData.ofExpr $ mkConst ·.declName)
|
||||
msg!"fail to show termination for{indentD (MessageData.joinSep preDefMsgs Format.line)}\nwith errors\n{msg}")
|
||||
m!"fail to show termination for{indentD (MessageData.joinSep preDefMsgs Format.line)}\nwith errors\n{msg}")
|
||||
|
||||
end Lean.Elab
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ private partial def findRecArg {α} (numFixed : Nat) (xs : Array Expr) (k : RecA
|
|||
indParams := indParams,
|
||||
indIndices := indIndices,
|
||||
reflexive := indInfo.isReflexive })
|
||||
(fun msg => msg!"argument #{i+1} was not used for structural recursion{indentD msg}"))
|
||||
(fun msg => m!"argument #{i+1} was not used for structural recursion{indentD msg}"))
|
||||
(loop (i+1))
|
||||
else
|
||||
throwStructuralFailed
|
||||
|
|
@ -243,6 +243,8 @@ private partial def replaceRecApps (recFnName : Name) (recArgInfo : RecArgInfo)
|
|||
if recArgPos >= args.size then
|
||||
throwError! "insufficient number of parameters at recursive application {indentExpr e}"
|
||||
let recArg := args[recArgPos]
|
||||
-- For reflexive type, we may have nested recursive applications in recArg
|
||||
let recArg ← replaceRecApps recFnName recArgInfo below recArg
|
||||
let f ← try toBelow below recArgInfo.indParams.size recArg catch _ => throwError! "failed to eliminate recursive application{indentExpr e}"
|
||||
-- Recall that the fixed parameters are not in the scope of the `brecOn`. So, we skip them.
|
||||
let argsNonFixed := args.extract numFixed args.size
|
||||
|
|
@ -352,7 +354,7 @@ def structuralRecursion (preDefs : Array PreDefinition) : TermElabM Unit :=
|
|||
throwError "structural recursion does not handle mutually recursive functions"
|
||||
else do
|
||||
let preDefNonRec ← elimRecursion preDefs[0]
|
||||
mapError (addNonRec preDefNonRec) (fun msg => msg!"structural recursion failed, produced type incorrect term{indentD msg}")
|
||||
mapError (addNonRec preDefNonRec) (fun msg => m!"structural recursion failed, produced type incorrect term{indentD msg}")
|
||||
addAndCompileUnsafeRec preDefs
|
||||
|
||||
builtin_initialize
|
||||
|
|
|
|||
4
stage0/src/Lean/Elab/Print.lean
generated
4
stage0/src/Lean/Elab/Print.lean
generated
|
|
@ -109,9 +109,9 @@ private def printAxiomsOf (constName : Name) : CommandElabM Unit := do
|
|||
let env ← getEnv
|
||||
let (_, s) := ((CollectAxioms.collect constName).run env).run {}
|
||||
if s.axioms.isEmpty then
|
||||
logInfo msg!"'{constName}' does not depend on any axioms"
|
||||
logInfo m!"'{constName}' does not depend on any axioms"
|
||||
else
|
||||
logInfo msg!"'{constName}' depends on axioms: {s.axioms.toList}"
|
||||
logInfo m!"'{constName}' depends on axioms: {s.axioms.toList}"
|
||||
|
||||
@[builtinCommandElab «printAxioms»] def elabPrintAxioms : CommandElab := fun stx => do
|
||||
let id := stx[2].getId
|
||||
|
|
|
|||
2
stage0/src/Lean/Elab/StructInst.lean
generated
2
stage0/src/Lean/Elab/StructInst.lean
generated
|
|
@ -531,7 +531,7 @@ private partial def elabStruct (s : Struct) (expectedType? : Option Expr) : Term
|
|||
| some val => cont val { field with val := FieldVal.term (mkHole field.ref) }
|
||||
| none => do let (val, sNew) ← elabStruct s (some d); let val ← ensureHasType d val; cont val { field with val := FieldVal.nested sNew }
|
||||
| FieldVal.default => do let val ← withRef field.ref $ mkFreshExprMVar (some d); cont (markDefaultMissing val) field
|
||||
| _ => withRef field.ref $ throwFailedToElabField fieldName s.structName msg!"unexpected constructor type{indentExpr type}"
|
||||
| _ => withRef field.ref $ throwFailedToElabField fieldName s.structName m!"unexpected constructor type{indentExpr type}"
|
||||
| _ => throwErrorAt field.ref "unexpected unexpanded structure field"
|
||||
pure (e, s.setFields fields.reverse)
|
||||
|
||||
|
|
|
|||
2
stage0/src/Lean/Elab/SyntheticMVars.lean
generated
2
stage0/src/Lean/Elab/SyntheticMVars.lean
generated
|
|
@ -129,7 +129,7 @@ private def synthesizeSyntheticMVarsStep (postponeOnError : Bool) (runTactics :
|
|||
-- It would not be incorrect to use `filterM`.
|
||||
let remainingSyntheticMVars ← syntheticMVars.filterRevM fun mvarDecl => do
|
||||
-- We use `traceM` because we want to make sure the metavar local context is used to trace the message
|
||||
traceM `Elab.postpone (withMVarContext mvarDecl.mvarId do addMessageContext msg!"resuming {mkMVar mvarDecl.mvarId}")
|
||||
traceM `Elab.postpone (withMVarContext mvarDecl.mvarId do addMessageContext m!"resuming {mkMVar mvarDecl.mvarId}")
|
||||
let succeeded ← synthesizeSyntheticMVar mvarDecl postponeOnError runTactics
|
||||
trace[Elab.postpone]! if succeeded then fmt "succeeded" else fmt "not ready yet"
|
||||
pure !succeeded
|
||||
|
|
|
|||
2
stage0/src/Lean/Elab/Tactic/Induction.lean
generated
2
stage0/src/Lean/Elab/Tactic/Induction.lean
generated
|
|
@ -279,7 +279,7 @@ def getInductiveValFromMajor (major : Expr) : TacticM InductiveVal :=
|
|||
let majorType ← inferType major
|
||||
let majorType ← whnf majorType
|
||||
matchConstInduct majorType.getAppFn
|
||||
(fun _ => Meta.throwTacticEx `induction mvarId msg!"major premise type is not an inductive type {indentExpr majorType}")
|
||||
(fun _ => Meta.throwTacticEx `induction mvarId m!"major premise type is not an inductive type {indentExpr majorType}")
|
||||
(fun val _ => pure val)
|
||||
|
||||
private partial def getRecFromUsingLoop (baseRecName : Name) (majorType : Expr) : TacticM (Option Meta.RecursorInfo) := do
|
||||
|
|
|
|||
2
stage0/src/Lean/Elab/Tactic/Injection.lean
generated
2
stage0/src/Lean/Elab/Tactic/Injection.lean
generated
|
|
@ -16,7 +16,7 @@ private def getInjectionNewIds (stx : Syntax) : List Name :=
|
|||
|
||||
private def checkUnusedIds (mvarId : MVarId) (unusedIds : List Name) : MetaM Unit :=
|
||||
unless unusedIds.isEmpty do
|
||||
Meta.throwTacticEx `injection mvarId msg!"too many identifiers provided, unused: {unusedIds}"
|
||||
Meta.throwTacticEx `injection mvarId m!"too many identifiers provided, unused: {unusedIds}"
|
||||
|
||||
@[builtinTactic «injection»] def evalInjection : Tactic := fun stx => do
|
||||
-- parser! nonReservedSymbol "injection " >> termParser >> withIds
|
||||
|
|
|
|||
8
stage0/src/Lean/Elab/Term.lean
generated
8
stage0/src/Lean/Elab/Term.lean
generated
|
|
@ -364,7 +364,7 @@ def MVarErrorInfo.logError (mvarErrorInfo : MVarErrorInfo) : TermElabM Unit := d
|
|||
msg ++ " " ++ arg.getAppFn
|
||||
else
|
||||
msg ++ " …"
|
||||
let msg : MessageData := msg!"don't know how to synthesize implicit argument{indentD msg}"
|
||||
let msg : MessageData := m!"don't know how to synthesize implicit argument{indentD msg}"
|
||||
let msg := msg ++ Format.line ++ "context:" ++ Format.line ++ MessageData.ofGoal mvarErrorInfo.mvarId
|
||||
logErrorAt mvarErrorInfo.ref msg
|
||||
| MVarErrorKind.hole => do
|
||||
|
|
@ -480,9 +480,9 @@ def applyAttributes (declName : Name) (attrs : Array Attribute) (persistent : Bo
|
|||
|
||||
def mkTypeMismatchError (header? : Option String) (e : Expr) (eType : Expr) (expectedType : Expr) : MessageData :=
|
||||
let header : MessageData := match header? with
|
||||
| some header => msg!"{header} has type"
|
||||
| none => msg!"type mismatch{indentExpr e}\nhas type"
|
||||
msg!"{header}{indentExpr eType}\nbut is expected to have type{indentExpr expectedType}"
|
||||
| some header => m!"{header} has type"
|
||||
| none => m!"type mismatch{indentExpr e}\nhas type"
|
||||
m!"{header}{indentExpr eType}\nbut is expected to have type{indentExpr expectedType}"
|
||||
|
||||
def throwTypeMismatchError {α} (header? : Option String) (expectedType : Expr) (eType : Expr) (e : Expr)
|
||||
(f? : Option Expr := none) (extraMsg? : Option MessageData := none) : TermElabM α :=
|
||||
|
|
|
|||
6
stage0/src/Lean/Exception.lean
generated
6
stage0/src/Lean/Exception.lean
generated
|
|
@ -47,7 +47,7 @@ def throwError {α} (msg : MessageData) : m α := do
|
|||
throw $ Exception.error ref msg
|
||||
|
||||
def throwUnknownConstant {α} (constName : Name) : m α :=
|
||||
throwError msg!"unknown constant '{mkConst constName}'"
|
||||
throwError m!"unknown constant '{mkConst constName}'"
|
||||
|
||||
def throwErrorAt {α} (ref : Syntax) (msg : MessageData) : m α := do
|
||||
withRef ref $ throwError msg
|
||||
|
|
@ -89,14 +89,14 @@ syntax "throwErrorAt! " term:max (interpolatedStr(term) <|> term) : term
|
|||
macro_rules
|
||||
| `(throwError! $msg) =>
|
||||
if msg.getKind == interpolatedStrKind then
|
||||
`(throwError (msg! $msg))
|
||||
`(throwError (m! $msg))
|
||||
else
|
||||
`(throwError $msg)
|
||||
|
||||
macro_rules
|
||||
| `(throwErrorAt! $ref $msg) =>
|
||||
if msg.getKind == interpolatedStrKind then
|
||||
`(throwErrorAt $ref (msg! $msg))
|
||||
`(throwErrorAt $ref (m! $msg))
|
||||
else
|
||||
`(throwErrorAt $ref $msg)
|
||||
|
||||
|
|
|
|||
7
stage0/src/Lean/Message.lean
generated
7
stage0/src/Lean/Message.lean
generated
|
|
@ -290,12 +290,9 @@ instance {α} [ToMessageData α] : ToMessageData (Array α) := ⟨fun as => toMe
|
|||
instance {α} [ToMessageData α] : ToMessageData (Option α) := ⟨fun | none => "none" | some e => "some (" ++ toMessageData e ++ ")"⟩
|
||||
instance : ToMessageData (Option Expr) := ⟨fun | none => "<not-available>" | some e => toMessageData e⟩
|
||||
|
||||
syntax:max "msg!" interpolatedStr(term) : term
|
||||
syntax:max "m!" interpolatedStr(term) : term
|
||||
|
||||
macro_rules
|
||||
| `(msg! $interpStr) => do
|
||||
let chunks := interpStr.getArgs
|
||||
let r ← Lean.Syntax.expandInterpolatedStrChunks chunks (fun a b => `($a ++ $b)) (fun a => `(toMessageData $a))
|
||||
`(($r : MessageData))
|
||||
| `(m! $interpStr) => do interpStr.expandInterpolatedStr (← `(MessageData)) (← `(toMessageData))
|
||||
|
||||
end Lean
|
||||
|
|
|
|||
8
stage0/src/Lean/Meta/AppBuilder.lean
generated
8
stage0/src/Lean/Meta/AppBuilder.lean
generated
|
|
@ -62,7 +62,7 @@ private def infer (h : Expr) : MetaM Expr := do
|
|||
whnfD hType
|
||||
|
||||
private def hasTypeMsg (e type : Expr) : MessageData :=
|
||||
msg!"{indentExpr e}\nhas type{indentExpr type}"
|
||||
m!"{indentExpr e}\nhas type{indentExpr type}"
|
||||
|
||||
private def throwAppBuilderException {α} (op : Name) (msg : MessageData) : MetaM α :=
|
||||
throwError! "AppBuilder for '{op}', {msg}"
|
||||
|
|
@ -121,11 +121,11 @@ private def mkEqOfHEqImp (h : Expr) : MetaM Expr := do
|
|||
match hType.heq? with
|
||||
| some (α, a, β, b) =>
|
||||
unless (← isDefEq α β) do
|
||||
throwAppBuilderException `eqOfHEq msg!"heterogeneous equality types are not definitionally equal{indentExpr α}\nis not definitionally equal to{indentExpr β}"
|
||||
throwAppBuilderException `eqOfHEq m!"heterogeneous equality types are not definitionally equal{indentExpr α}\nis not definitionally equal to{indentExpr β}"
|
||||
let u ← getLevel α
|
||||
pure $ mkApp4 (mkConst `eqOfHEq [u]) α a b h
|
||||
| _ =>
|
||||
throwAppBuilderException `HEq.trans msg!"heterogeneous equality proof expected{indentExpr h}"
|
||||
throwAppBuilderException `HEq.trans m!"heterogeneous equality proof expected{indentExpr h}"
|
||||
def mkEqOfHEq (h : Expr) : m Expr :=
|
||||
liftMetaM $ mkEqOfHEqImp h
|
||||
|
||||
|
|
@ -209,7 +209,7 @@ private partial def mkAppMArgs (f : Expr) (fType : Expr) (xs : Array Expr) : Met
|
|||
if type.isForall then
|
||||
loop type i args.size args instMVars
|
||||
else
|
||||
throwAppBuilderException `mkAppM msg!"too many explicit arguments provided to{indentExpr f}\narguments{indentD xs}"
|
||||
throwAppBuilderException `mkAppM m!"too many explicit arguments provided to{indentExpr f}\narguments{indentD xs}"
|
||||
loop fType 0 0 #[] #[]
|
||||
|
||||
private def mkFun (constName : Name) : MetaM (Expr × Expr) := do
|
||||
|
|
|
|||
2
stage0/src/Lean/Meta/ExprDefEq.lean
generated
2
stage0/src/Lean/Meta/ExprDefEq.lean
generated
|
|
@ -437,7 +437,7 @@ instance : MonadCache Expr Expr CheckAssignmentM := {
|
|||
|
||||
private def addAssignmentInfo (msg : MessageData) : CheckAssignmentM MessageData := do
|
||||
let ctx ← read
|
||||
return msg!" @ {mkMVar ctx.mvarId} {ctx.fvars} := {ctx.rhs}"
|
||||
return m!" @ {mkMVar ctx.mvarId} {ctx.fvars} := {ctx.rhs}"
|
||||
|
||||
@[specialize] def checkFVar (check : Expr → CheckAssignmentM Expr) (fvar : Expr) : CheckAssignmentM Expr := do
|
||||
let ctxMeta ← readThe Meta.Context
|
||||
|
|
|
|||
2
stage0/src/Lean/Meta/LevelDefEq.lean
generated
2
stage0/src/Lean/Meta/LevelDefEq.lean
generated
|
|
@ -227,7 +227,7 @@ private def restore (env : Environment) (mctx : MetavarContext) (postponed : Per
|
|||
private def postponedToMessageData (ps : PersistentArray PostponedEntry) : MessageData := do
|
||||
let mut r := MessageData.nil
|
||||
for p in ps do
|
||||
r := msg!"{r}\n{p.lhs} =?= {p.rhs}"
|
||||
r := m!"{r}\n{p.lhs} =?= {p.rhs}"
|
||||
pure r
|
||||
|
||||
@[specialize] def withoutPostponingUniverseConstraintsImp {α} (x : MetaM α) : MetaM α := do
|
||||
|
|
|
|||
109
stage0/src/Lean/Meta/Match/Match.lean
generated
109
stage0/src/Lean/Meta/Match/Match.lean
generated
|
|
@ -10,6 +10,7 @@ import Lean.Meta.Check
|
|||
import Lean.Meta.Closure
|
||||
import Lean.Meta.Tactic.Cases
|
||||
import Lean.Meta.GeneralizeTelescope
|
||||
import Lean.Meta.Match.MatcherInfo
|
||||
import Lean.Meta.Match.MVarRenaming
|
||||
import Lean.Meta.Match.CaseValues
|
||||
import Lean.Meta.Match.CaseArraySizes
|
||||
|
|
@ -29,13 +30,13 @@ namespace Pattern
|
|||
instance : Inhabited Pattern := ⟨Pattern.inaccessible (arbitrary _)⟩
|
||||
|
||||
partial def toMessageData : Pattern → MessageData
|
||||
| inaccessible e => msg!".({e})"
|
||||
| inaccessible e => m!".({e})"
|
||||
| var varId => mkFVar varId
|
||||
| ctor ctorName _ _ [] => ctorName
|
||||
| ctor ctorName _ _ pats => msg!"({ctorName}{pats.foldl (fun (msg : MessageData) pat => msg ++ " " ++ toMessageData pat) Format.nil})"
|
||||
| ctor ctorName _ _ pats => m!"({ctorName}{pats.foldl (fun (msg : MessageData) pat => msg ++ " " ++ toMessageData pat) Format.nil})"
|
||||
| val e => e
|
||||
| arrayLit _ pats => msg!"#[{MessageData.joinSep (pats.map toMessageData) ", "}]"
|
||||
| as varId p => msg!"{mkFVar varId}@{toMessageData p}"
|
||||
| arrayLit _ pats => m!"#[{MessageData.joinSep (pats.map toMessageData) ", "}]"
|
||||
| as varId p => m!"{mkFVar varId}@{toMessageData p}"
|
||||
|
||||
partial def toExpr : Pattern → MetaM Expr
|
||||
| inaccessible e => pure e
|
||||
|
|
@ -176,7 +177,7 @@ def checkAndReplaceFVarId (fvarId : FVarId) (v : Expr) (alt : Alt) : MetaM Alt :
|
|||
unless (← isDefEqGuarded fvarDecl.type vType) do
|
||||
withExistingLocalDecls alt.fvarDecls do
|
||||
throwErrorAt alt.ref $
|
||||
msg!"type mismatch during dependent match-elimination at pattern variable '{mkFVar fvarDecl.fvarId}' with type{indentExpr fvarDecl.type}\nexpected type{indentExpr vType}"
|
||||
m!"type mismatch during dependent match-elimination at pattern variable '{mkFVar fvarDecl.fvarId}' with type{indentExpr fvarDecl.type}\nexpected type{indentExpr vType}"
|
||||
pure $ replaceFVarId fvarId v alt
|
||||
|
||||
end Alt
|
||||
|
|
@ -767,56 +768,6 @@ private partial def process (p : Problem) : StateRefT State MetaM Unit := withIn
|
|||
else
|
||||
liftM $ throwNonSupported p
|
||||
|
||||
/--
|
||||
A "matcher" auxiliary declaration has the following structure:
|
||||
- `numParams` parameters
|
||||
- motive
|
||||
- `numDiscrs` discriminators (aka major premises)
|
||||
- `altNumParams.size` alternatives (aka minor premises) where alternative `i` has `altNumParams[i]` parameters
|
||||
- `uElimPos?` is `some pos` when the matcher can eliminate in different universe levels, and
|
||||
`pos` is the position of the universe level parameter that specifies the elimination universe.
|
||||
It is `none` if the matcher only eliminates into `Prop`. -/
|
||||
structure MatcherInfo :=
|
||||
(numParams : Nat)
|
||||
(numDiscrs : Nat)
|
||||
(altNumParams : Array Nat)
|
||||
(uElimPos? : Option Nat)
|
||||
|
||||
def MatcherInfo.numAlts (matcherInfo : MatcherInfo) : Nat :=
|
||||
matcherInfo.altNumParams.size
|
||||
|
||||
namespace Extension
|
||||
|
||||
structure Entry :=
|
||||
(name : Name)
|
||||
(info : MatcherInfo)
|
||||
|
||||
structure State :=
|
||||
(map : SMap Name MatcherInfo := {})
|
||||
|
||||
instance : Inhabited State := ⟨{}⟩
|
||||
|
||||
def State.addEntry (s : State) (e : Entry) : State := { s with map := s.map.insert e.name e.info }
|
||||
def State.switch (s : State) : State := { s with map := s.map.switch }
|
||||
|
||||
builtin_initialize extension : SimplePersistentEnvExtension Entry State ←
|
||||
registerSimplePersistentEnvExtension {
|
||||
name := `matcher,
|
||||
addEntryFn := State.addEntry,
|
||||
addImportedFn := fun es => (mkStateFromImportedEntries State.addEntry {} es).switch
|
||||
}
|
||||
|
||||
def addMatcherInfo (env : Environment) (matcherName : Name) (info : MatcherInfo) : Environment :=
|
||||
extension.addEntry env { name := matcherName, info := info }
|
||||
|
||||
def getMatcherInfo? (env : Environment) (declName : Name) : Option MatcherInfo :=
|
||||
(extension.getState env).map.find? declName
|
||||
|
||||
end Extension
|
||||
|
||||
def addMatcherInfo (matcherName : Name) (info : MatcherInfo) : MetaM Unit :=
|
||||
modifyEnv fun env => Extension.addMatcherInfo env matcherName info
|
||||
|
||||
private def getUElimPos? (matcherLevels : List Level) (uElim : Level) : MetaM (Option Nat) :=
|
||||
if uElim == levelZero then
|
||||
pure none
|
||||
|
|
@ -887,54 +838,6 @@ def mkMatcher (matcherName : Name) (matchType : Expr) (numDiscrs : Nat) (lhss :
|
|||
|
||||
end Match
|
||||
|
||||
export Match (MatcherInfo)
|
||||
|
||||
def getMatcherInfo? (declName : Name) : MetaM (Option MatcherInfo) := do
|
||||
let env ← getEnv
|
||||
pure $ Match.Extension.getMatcherInfo? env declName
|
||||
|
||||
def isMatcher (declName : Name) : MetaM Bool := do
|
||||
let info? ← getMatcherInfo? declName
|
||||
pure info?.isSome
|
||||
|
||||
structure MatcherApp :=
|
||||
(matcherName : Name)
|
||||
(matcherLevels : Array Level)
|
||||
(uElimPos? : Option Nat)
|
||||
(params : Array Expr)
|
||||
(motive : Expr)
|
||||
(discrs : Array Expr)
|
||||
(altNumParams : Array Nat)
|
||||
(alts : Array Expr)
|
||||
(remaining : Array Expr)
|
||||
|
||||
def matchMatcherApp? (e : Expr) : MetaM (Option MatcherApp) :=
|
||||
match e.getAppFn with
|
||||
| Expr.const declName declLevels _ => do
|
||||
let some info ← getMatcherInfo? declName | pure none
|
||||
let args := e.getAppArgs
|
||||
if args.size < info.numParams + 1 + info.numDiscrs + info.numAlts then pure none
|
||||
else
|
||||
pure $ some {
|
||||
matcherName := declName,
|
||||
matcherLevels := declLevels.toArray,
|
||||
uElimPos? := info.uElimPos?,
|
||||
params := args.extract 0 info.numParams,
|
||||
motive := args.get! info.numParams,
|
||||
discrs := args.extract (info.numParams + 1) (info.numParams + 1 + info.numDiscrs),
|
||||
altNumParams := info.altNumParams,
|
||||
alts := args.extract (info.numParams + 1 + info.numDiscrs) (info.numParams + 1 + info.numDiscrs + info.numAlts),
|
||||
remaining := args.extract (info.numParams + 1 + info.numDiscrs + info.numAlts) args.size
|
||||
}
|
||||
| _ => pure none
|
||||
|
||||
def MatcherApp.toExpr (matcherApp : MatcherApp) : Expr :=
|
||||
let result := mkAppN (mkConst matcherApp.matcherName matcherApp.matcherLevels.toList) matcherApp.params
|
||||
let result := mkApp result matcherApp.motive
|
||||
let result := mkAppN result matcherApp.discrs
|
||||
let result := mkAppN result matcherApp.alts
|
||||
mkAppN result matcherApp.remaining
|
||||
|
||||
/- Auxiliary function for MatcherApp.addArg -/
|
||||
private partial def updateAlts (typeNew : Expr) (altNumParams : Array Nat) (alts : Array Expr) (i : Nat) : MetaM (Array Nat × Array Expr) := do
|
||||
if h : i < alts.size then
|
||||
|
|
|
|||
111
stage0/src/Lean/Meta/Match/MatcherInfo.lean
generated
Normal file
111
stage0/src/Lean/Meta/Match/MatcherInfo.lean
generated
Normal file
|
|
@ -0,0 +1,111 @@
|
|||
/-
|
||||
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
|
||||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
Authors: Leonardo de Moura
|
||||
-/
|
||||
import Lean.Meta.Basic
|
||||
|
||||
namespace Lean.Meta
|
||||
namespace Match
|
||||
|
||||
/--
|
||||
A "matcher" auxiliary declaration has the following structure:
|
||||
- `numParams` parameters
|
||||
- motive
|
||||
- `numDiscrs` discriminators (aka major premises)
|
||||
- `altNumParams.size` alternatives (aka minor premises) where alternative `i` has `altNumParams[i]` parameters
|
||||
- `uElimPos?` is `some pos` when the matcher can eliminate in different universe levels, and
|
||||
`pos` is the position of the universe level parameter that specifies the elimination universe.
|
||||
It is `none` if the matcher only eliminates into `Prop`. -/
|
||||
structure MatcherInfo :=
|
||||
(numParams : Nat)
|
||||
(numDiscrs : Nat)
|
||||
(altNumParams : Array Nat)
|
||||
(uElimPos? : Option Nat)
|
||||
|
||||
def MatcherInfo.numAlts (matcherInfo : MatcherInfo) : Nat :=
|
||||
matcherInfo.altNumParams.size
|
||||
|
||||
namespace Extension
|
||||
|
||||
structure Entry :=
|
||||
(name : Name)
|
||||
(info : MatcherInfo)
|
||||
|
||||
structure State :=
|
||||
(map : SMap Name MatcherInfo := {})
|
||||
|
||||
instance : Inhabited State := ⟨{}⟩
|
||||
|
||||
def State.addEntry (s : State) (e : Entry) : State := { s with map := s.map.insert e.name e.info }
|
||||
def State.switch (s : State) : State := { s with map := s.map.switch }
|
||||
|
||||
builtin_initialize extension : SimplePersistentEnvExtension Entry State ←
|
||||
registerSimplePersistentEnvExtension {
|
||||
name := `matcher,
|
||||
addEntryFn := State.addEntry,
|
||||
addImportedFn := fun es => (mkStateFromImportedEntries State.addEntry {} es).switch
|
||||
}
|
||||
|
||||
def addMatcherInfo (env : Environment) (matcherName : Name) (info : MatcherInfo) : Environment :=
|
||||
extension.addEntry env { name := matcherName, info := info }
|
||||
|
||||
def getMatcherInfo? (env : Environment) (declName : Name) : Option MatcherInfo :=
|
||||
(extension.getState env).map.find? declName
|
||||
|
||||
end Extension
|
||||
|
||||
def addMatcherInfo (matcherName : Name) (info : MatcherInfo) : MetaM Unit :=
|
||||
modifyEnv fun env => Extension.addMatcherInfo env matcherName info
|
||||
|
||||
end Match
|
||||
|
||||
export Match (MatcherInfo)
|
||||
|
||||
def getMatcherInfo? (declName : Name) : MetaM (Option MatcherInfo) := do
|
||||
let env ← getEnv
|
||||
pure $ Match.Extension.getMatcherInfo? env declName
|
||||
|
||||
def isMatcher (declName : Name) : MetaM Bool := do
|
||||
let info? ← getMatcherInfo? declName
|
||||
pure info?.isSome
|
||||
|
||||
structure MatcherApp :=
|
||||
(matcherName : Name)
|
||||
(matcherLevels : Array Level)
|
||||
(uElimPos? : Option Nat)
|
||||
(params : Array Expr)
|
||||
(motive : Expr)
|
||||
(discrs : Array Expr)
|
||||
(altNumParams : Array Nat)
|
||||
(alts : Array Expr)
|
||||
(remaining : Array Expr)
|
||||
|
||||
def matchMatcherApp? (e : Expr) : MetaM (Option MatcherApp) :=
|
||||
match e.getAppFn with
|
||||
| Expr.const declName declLevels _ => do
|
||||
let some info ← getMatcherInfo? declName | pure none
|
||||
let args := e.getAppArgs
|
||||
if args.size < info.numParams + 1 + info.numDiscrs + info.numAlts then pure none
|
||||
else
|
||||
pure $ some {
|
||||
matcherName := declName,
|
||||
matcherLevels := declLevels.toArray,
|
||||
uElimPos? := info.uElimPos?,
|
||||
params := args.extract 0 info.numParams,
|
||||
motive := args.get! info.numParams,
|
||||
discrs := args.extract (info.numParams + 1) (info.numParams + 1 + info.numDiscrs),
|
||||
altNumParams := info.altNumParams,
|
||||
alts := args.extract (info.numParams + 1 + info.numDiscrs) (info.numParams + 1 + info.numDiscrs + info.numAlts),
|
||||
remaining := args.extract (info.numParams + 1 + info.numDiscrs + info.numAlts) args.size
|
||||
}
|
||||
| _ => pure none
|
||||
|
||||
def MatcherApp.toExpr (matcherApp : MatcherApp) : Expr :=
|
||||
let result := mkAppN (mkConst matcherApp.matcherName matcherApp.matcherLevels.toList) matcherApp.params
|
||||
let result := mkApp result matcherApp.motive
|
||||
let result := mkAppN result matcherApp.discrs
|
||||
let result := mkAppN result matcherApp.alts
|
||||
mkAppN result matcherApp.remaining
|
||||
|
||||
end Lean.Meta
|
||||
2
stage0/src/Lean/Meta/Tactic/Apply.lean
generated
2
stage0/src/Lean/Meta/Tactic/Apply.lean
generated
|
|
@ -24,7 +24,7 @@ private def getExpectedNumArgs (e : Expr) : MetaM Nat := do
|
|||
pure numArgs
|
||||
|
||||
private def throwApplyError {α} (mvarId : MVarId) (eType : Expr) (targetType : Expr) : MetaM α :=
|
||||
throwTacticEx `apply mvarId msg!"failed to unify{indentExpr eType}\nwith{indentExpr targetType}"
|
||||
throwTacticEx `apply mvarId m!"failed to unify{indentExpr eType}\nwith{indentExpr targetType}"
|
||||
|
||||
def synthAppInstances (tacticName : Name) (mvarId : MVarId) (newMVars : Array Expr) (binderInfos : Array BinderInfo) : MetaM Unit :=
|
||||
newMVars.size.forM fun i => do
|
||||
|
|
|
|||
6
stage0/src/Lean/Meta/Tactic/Clear.lean
generated
6
stage0/src/Lean/Meta/Tactic/Clear.lean
generated
|
|
@ -12,16 +12,16 @@ def clear (mvarId : MVarId) (fvarId : FVarId) : MetaM MVarId :=
|
|||
checkNotAssigned mvarId `clear
|
||||
let lctx ← getLCtx
|
||||
unless lctx.contains fvarId do
|
||||
throwTacticEx `clear mvarId msg!"unknown variable '{mkFVar fvarId}'"
|
||||
throwTacticEx `clear mvarId m!"unknown variable '{mkFVar fvarId}'"
|
||||
let tag ← getMVarTag mvarId
|
||||
let mctx ← getMCtx
|
||||
lctx.forM fun localDecl => do
|
||||
unless localDecl.fvarId == fvarId do
|
||||
if mctx.localDeclDependsOn localDecl fvarId then
|
||||
throwTacticEx `clear mvarId msg!"variable '{localDecl.toExpr}' depends on '{mkFVar fvarId}'"
|
||||
throwTacticEx `clear mvarId m!"variable '{localDecl.toExpr}' depends on '{mkFVar fvarId}'"
|
||||
let mvarDecl ← getMVarDecl mvarId
|
||||
if mctx.exprDependsOn mvarDecl.type fvarId then
|
||||
throwTacticEx `clear mvarId msg!"taget depends on '{mkFVar fvarId}'"
|
||||
throwTacticEx `clear mvarId m!"taget depends on '{mkFVar fvarId}'"
|
||||
let lctx := lctx.erase fvarId
|
||||
let localInsts ← getLocalInstances
|
||||
let localInsts := match localInsts.findIdx? $ fun localInst => localInst.fvar.fvarId! == fvarId with
|
||||
|
|
|
|||
18
stage0/src/Lean/Meta/Tactic/Induction.lean
generated
18
stage0/src/Lean/Meta/Tactic/Induction.lean
generated
|
|
@ -116,7 +116,7 @@ private partial def finalize
|
|||
loop (recursorInfo.paramsPos.length + 1) 0 recursor recursorType false #[]
|
||||
|
||||
private def throwUnexpectedMajorType {α} (mvarId : MVarId) (majorType : Expr) : MetaM α :=
|
||||
throwTacticEx `induction mvarId msg!"unexpected major premise type{indentExpr majorType}"
|
||||
throwTacticEx `induction mvarId m!"unexpected major premise type{indentExpr majorType}"
|
||||
|
||||
def induction (mvarId : MVarId) (majorFVarId : FVarId) (recursorName : Name) (givenNames : Array (List Name) := #[]) (useUnusedNames := false) :
|
||||
MetaM (Array InductionSubgoal) :=
|
||||
|
|
@ -129,28 +129,28 @@ def induction (mvarId : MVarId) (majorFVarId : FVarId) (recursorName : Name) (gi
|
|||
recursorInfo.paramsPos.forM fun paramPos? => do
|
||||
match paramPos? with
|
||||
| none => pure ()
|
||||
| some paramPos => if paramPos ≥ majorTypeArgs.size then throwTacticEx `induction mvarId msg!"major premise type is ill-formed{indentExpr majorType}"
|
||||
| some paramPos => if paramPos ≥ majorTypeArgs.size then throwTacticEx `induction mvarId m!"major premise type is ill-formed{indentExpr majorType}"
|
||||
let mctx ← getMCtx
|
||||
let indices ← recursorInfo.indicesPos.toArray.mapM fun idxPos => do
|
||||
if idxPos ≥ majorTypeArgs.size then throwTacticEx `induction mvarId msg!"major premise type is ill-formed{indentExpr majorType}"
|
||||
if idxPos ≥ majorTypeArgs.size then throwTacticEx `induction mvarId m!"major premise type is ill-formed{indentExpr majorType}"
|
||||
let idx := majorTypeArgs.get! idxPos
|
||||
unless idx.isFVar do throwTacticEx `induction mvarId msg!"major premise type index {idx} is not a variable{indentExpr majorType}"
|
||||
unless idx.isFVar do throwTacticEx `induction mvarId m!"major premise type index {idx} is not a variable{indentExpr majorType}"
|
||||
majorTypeArgs.size.forM fun i => do
|
||||
let arg := majorTypeArgs[i]
|
||||
if i != idxPos && arg == idx then
|
||||
throwTacticEx `induction mvarId msg!"'{idx}' is an index in major premise, but it occurs more than once{indentExpr majorType}"
|
||||
throwTacticEx `induction mvarId m!"'{idx}' is an index in major premise, but it occurs more than once{indentExpr majorType}"
|
||||
if i < idxPos && mctx.exprDependsOn arg idx.fvarId! then
|
||||
throwTacticEx `induction mvarId msg!"'{idx}' is an index in major premise, but it occurs in previous arguments{indentExpr majorType}"
|
||||
throwTacticEx `induction mvarId m!"'{idx}' is an index in major premise, but it occurs in previous arguments{indentExpr majorType}"
|
||||
-- If arg is also and index and a variable occurring after `idx`, we need to make sure it doesn't depend on `idx`.
|
||||
-- Note that if `arg` is not a variable, we will fail anyway when we visit it.
|
||||
if i > idxPos && recursorInfo.indicesPos.contains i && arg.isFVar then
|
||||
let idxDecl ← getLocalDecl idx.fvarId!
|
||||
if mctx.localDeclDependsOn idxDecl arg.fvarId! then
|
||||
throwTacticEx `induction mvarId msg!"'{idx}' is an index in major premise, but it depends on index occurring at position #{i+1}"
|
||||
throwTacticEx `induction mvarId m!"'{idx}' is an index in major premise, but it depends on index occurring at position #{i+1}"
|
||||
pure idx
|
||||
let target ← getMVarType mvarId
|
||||
if !recursorInfo.depElim && mctx.exprDependsOn target majorFVarId then
|
||||
throwTacticEx `induction mvarId msg!"recursor '{recursorName}' does not support dependent elimination, but conclusion depends on major premise"
|
||||
throwTacticEx `induction mvarId m!"recursor '{recursorName}' does not support dependent elimination, but conclusion depends on major premise"
|
||||
-- Revert indices and major premise preserving variable order
|
||||
let (reverted, mvarId) ← revert mvarId ((indices.map Expr.fvarId!).push majorFVarId) true
|
||||
-- Re-introduce indices and major
|
||||
|
|
@ -187,7 +187,7 @@ def induction (mvarId : MVarId) (majorFVarId : FVarId) (recursorName : Name) (gi
|
|||
if idx ≥ majorTypeFnLevels.size then throwTacticEx `induction mvarId "ill-formed recursor"
|
||||
pure (recursorLevels.push (majorTypeFnLevels.get! idx), foundTargetLevel)
|
||||
if !foundTargetLevel && !targetLevel.isZero then
|
||||
throwTacticEx `induction mvarId msg!"recursor '{recursorName}' can only eliminate into Prop"
|
||||
throwTacticEx `induction mvarId m!"recursor '{recursorName}' can only eliminate into Prop"
|
||||
let recursor := mkConst recursorName recursorLevels.toList
|
||||
let recursor ← addRecParams mvarId majorTypeArgs recursorInfo.paramsPos recursor
|
||||
-- Compute motive
|
||||
|
|
|
|||
4
stage0/src/Lean/Meta/Tactic/Replace.lean
generated
4
stage0/src/Lean/Meta/Tactic/Replace.lean
generated
|
|
@ -66,7 +66,7 @@ def replaceLocalDecl (mvarId : MVarId) (fvarId : FVarId) (typeNew : Expr) (eqPro
|
|||
def change (mvarId : MVarId) (targetNew : Expr) : MetaM MVarId := withMVarContext mvarId do
|
||||
let target ← getMVarType mvarId
|
||||
unless (← isDefEq target targetNew) do
|
||||
throwTacticEx `change mvarId msg!"given type{indentExpr targetNew}\nis not definitionally equal to{indentExpr target}"
|
||||
throwTacticEx `change mvarId m!"given type{indentExpr targetNew}\nis not definitionally equal to{indentExpr target}"
|
||||
replaceTargetDefEq mvarId targetNew
|
||||
|
||||
def changeLocalDecl (mvarId : MVarId) (fvarId : FVarId) (typeNew : Expr) : MetaM MVarId := do
|
||||
|
|
@ -77,7 +77,7 @@ def changeLocalDecl (mvarId : MVarId) (fvarId : FVarId) (typeNew : Expr) : MetaM
|
|||
let target ← getMVarType mvarId
|
||||
let checkDefEq (typeOld : Expr) : MetaM Unit := do
|
||||
unless (← isDefEq typeNew typeOld) do
|
||||
throwTacticEx `changeHypothesis mvarId msg!"given type{indentExpr typeNew}\nis not definitionally equal to{indentExpr typeOld}"
|
||||
throwTacticEx `changeHypothesis mvarId m!"given type{indentExpr typeNew}\nis not definitionally equal to{indentExpr typeOld}"
|
||||
let finalize (targetNew : Expr) : MetaM MVarId := do
|
||||
let mvarId ← replaceTargetDefEq mvarId targetNew
|
||||
let (_, mvarId) ← introNP mvarId (numReverted-1)
|
||||
|
|
|
|||
6
stage0/src/Lean/Meta/Tactic/Rewrite.lean
generated
6
stage0/src/Lean/Meta/Tactic/Rewrite.lean
generated
|
|
@ -24,15 +24,15 @@ def rewrite (mvarId : MVarId) (e : Expr) (heq : Expr) (symm : Bool := false) (oc
|
|||
let heq := mkAppN heq newMVars
|
||||
let cont (heq heqType : Expr) : MetaM RewriteResult := do
|
||||
match (← matchEq? heqType) with
|
||||
| none => throwTacticEx `rewrite mvarId msg!"equality or iff proof expected{indentExpr heqType}"
|
||||
| none => throwTacticEx `rewrite mvarId m!"equality or iff proof expected{indentExpr heqType}"
|
||||
| some (α, lhs, rhs) =>
|
||||
let cont (heq heqType lhs rhs : Expr) : MetaM RewriteResult := do
|
||||
if lhs.getAppFn.isMVar then
|
||||
throwTacticEx `rewrite mvarId msg!"pattern is a metavariable{indentExpr lhs}\nfrom equation{indentExpr heqType}"
|
||||
throwTacticEx `rewrite mvarId m!"pattern is a metavariable{indentExpr lhs}\nfrom equation{indentExpr heqType}"
|
||||
let e ← instantiateMVars e
|
||||
let eAbst ← kabstract e lhs occs
|
||||
unless eAbst.hasLooseBVars do
|
||||
throwTacticEx `rewrite mvarId msg!"did not find instance of the pattern in the target expression{indentExpr lhs}"
|
||||
throwTacticEx `rewrite mvarId m!"did not find instance of the pattern in the target expression{indentExpr lhs}"
|
||||
-- construct rewrite proof
|
||||
let eNew := eAbst.instantiate1 rhs
|
||||
let eNew ← instantiateMVars eNew
|
||||
|
|
|
|||
8
stage0/src/Lean/Meta/Tactic/Subst.lean
generated
8
stage0/src/Lean/Meta/Tactic/Subst.lean
generated
|
|
@ -31,7 +31,7 @@ def substCore (mvarId : MVarId) (hFVarId : FVarId) (symm := false) (fvarSubst :
|
|||
trace[Meta.Tactic.subst]! "substituting {a} (id: {aFVarId} with {b}"
|
||||
let mctx ← getMCtx
|
||||
if mctx.exprDependsOn b aFVarId then
|
||||
throwTacticEx `subst mvarId msg!"'{a}' occurs at{indentExpr b}"
|
||||
throwTacticEx `subst mvarId m!"'{a}' occurs at{indentExpr b}"
|
||||
let aLocalDecl ← getLocalDecl aFVarId
|
||||
let (vars, mvarId) ← revert mvarId #[aFVarId, hFVarId] true
|
||||
let (twoVars, mvarId) ← introNP mvarId 2
|
||||
|
|
@ -98,7 +98,7 @@ def substCore (mvarId : MVarId) (hFVarId : FVarId) (symm := false) (fvarSubst :
|
|||
| _ =>
|
||||
let eqMsg := if symm then "(t = x)" else "(x = t)"
|
||||
throwTacticEx `subst mvarId
|
||||
msg!"invalid equality proof, it is not of the form {eqMsg}{indentExpr hLocalDecl.type}\nafter WHNF, variable expected, but obtained{indentExpr a}"
|
||||
m!"invalid equality proof, it is not of the form {eqMsg}{indentExpr hLocalDecl.type}\nafter WHNF, variable expected, but obtained{indentExpr a}"
|
||||
|
||||
def subst (mvarId : MVarId) (hFVarId : FVarId) : MetaM MVarId :=
|
||||
withMVarContext mvarId do
|
||||
|
|
@ -113,7 +113,7 @@ def subst (mvarId : MVarId) (hFVarId : FVarId) : MetaM MVarId :=
|
|||
if lhs.isFVar then
|
||||
(·.2) <$> substCore mvarId hFVarId
|
||||
else do
|
||||
throwTacticEx `subst mvarId msg!"invalid equality proof, it is not of the form (x = t) or (t = x){indentExpr hLocalDecl.type}"
|
||||
throwTacticEx `subst mvarId m!"invalid equality proof, it is not of the form (x = t) or (t = x){indentExpr hLocalDecl.type}"
|
||||
| none =>
|
||||
let mctx ← getMCtx
|
||||
let lctx ← getLCtx
|
||||
|
|
@ -130,7 +130,7 @@ def subst (mvarId : MVarId) (hFVarId : FVarId) : MetaM MVarId :=
|
|||
else
|
||||
pure none
|
||||
| _ => pure none
|
||||
| throwTacticEx `subst mvarId msg!"did not find equation for eliminating '{mkFVar hFVarId}'"
|
||||
| throwTacticEx `subst mvarId m!"did not find equation for eliminating '{mkFVar hFVarId}'"
|
||||
(·.2) <$> substCore mvarId fvarId symm
|
||||
|
||||
builtin_initialize registerTraceClass `Meta.Tactic.subst
|
||||
|
|
|
|||
66
stage0/src/Lean/Meta/WHNF.lean
generated
66
stage0/src/Lean/Meta/WHNF.lean
generated
|
|
@ -7,6 +7,7 @@ import Lean.ToExpr
|
|||
import Lean.AuxRecursor
|
||||
import Lean.Meta.Basic
|
||||
import Lean.Meta.LevelDefEq
|
||||
import Lean.Meta.Match.MatcherInfo
|
||||
|
||||
namespace Lean.Meta
|
||||
|
||||
|
|
@ -250,6 +251,39 @@ private def extractIdRhs (e : Expr) : Expr :=
|
|||
let val := val.betaRev revArgs
|
||||
successK (extractIdRhs val)
|
||||
|
||||
inductive ReduceMatcherResult
|
||||
| reduced (val : Expr)
|
||||
| stuck (val : Expr)
|
||||
| notMatcher
|
||||
| partialApp
|
||||
|
||||
def reduceMatcher? (e : Expr) : MetaM ReduceMatcherResult := do
|
||||
match e.getAppFn with
|
||||
| Expr.const declName declLevels _ => do
|
||||
let some info ← getMatcherInfo? declName | pure ReduceMatcherResult.notMatcher
|
||||
let args := e.getAppArgs
|
||||
let prefixSz := info.numParams + 1 + info.numDiscrs
|
||||
if args.size < prefixSz + info.numAlts then
|
||||
pure ReduceMatcherResult.partialApp
|
||||
else
|
||||
let constInfo ← getConstInfo declName
|
||||
let f := constInfo.instantiateValueLevelParams declLevels
|
||||
let auxApp := mkAppN f args[0:prefixSz]
|
||||
let auxAppType ← inferType auxApp
|
||||
forallBoundedTelescope auxAppType info.numAlts fun hs _ => do
|
||||
let auxApp := mkAppN auxApp hs
|
||||
let auxApp ← whnf auxApp
|
||||
let auxAppFn := auxApp.getAppFn
|
||||
let mut i := prefixSz
|
||||
for h in hs do
|
||||
if auxAppFn == h then
|
||||
let result := mkAppN args[i] auxApp.getAppArgs
|
||||
let result := mkAppN result args[prefixSz + info.numAlts:args.size]
|
||||
return ReduceMatcherResult.reduced result.headBeta
|
||||
i := i + 1
|
||||
return ReduceMatcherResult.stuck auxApp
|
||||
| _ => pure ReduceMatcherResult.notMatcher
|
||||
|
||||
/--
|
||||
Apply beta-reduction, zeta-reduction (i.e., unfold let local-decls), iota-reduction,
|
||||
expand let-expressions, expand assigned meta-variables. -/
|
||||
|
|
@ -265,20 +299,24 @@ private partial def whnfCoreImp (e : Expr) : MetaM Expr :=
|
|||
if f'.isLambda then
|
||||
let revArgs := e.getAppRevArgs
|
||||
whnfCoreImp $ f'.betaRev revArgs
|
||||
else
|
||||
let done : Unit → MetaM Expr := fun _ =>
|
||||
if f == f' then pure e else pure $ e.updateFn f'
|
||||
matchConstAux f' done fun cinfo lvls =>
|
||||
match cinfo with
|
||||
| ConstantInfo.recInfo rec => reduceRec rec lvls e.getAppArgs done whnfCoreImp
|
||||
| ConstantInfo.quotInfo rec => reduceQuotRec rec lvls e.getAppArgs done whnfCoreImp
|
||||
| c@(ConstantInfo.defnInfo _) => do
|
||||
let unfold? ← isAuxDef? c.name
|
||||
if unfold? then
|
||||
deltaBetaDefinition c lvls e.getAppRevArgs done whnfCoreImp
|
||||
else
|
||||
done ()
|
||||
| _ => done ()
|
||||
else match (← reduceMatcher? e) with
|
||||
| ReduceMatcherResult.reduced eNew => whnfCoreImp eNew
|
||||
| ReduceMatcherResult.partialApp => pure e
|
||||
| ReduceMatcherResult.stuck _ => pure e
|
||||
| ReduceMatcherResult.notMatcher =>
|
||||
let done : Unit → MetaM Expr := fun _ =>
|
||||
if f == f' then pure e else pure $ e.updateFn f'
|
||||
matchConstAux f' done fun cinfo lvls =>
|
||||
match cinfo with
|
||||
| ConstantInfo.recInfo rec => reduceRec rec lvls e.getAppArgs done whnfCoreImp
|
||||
| ConstantInfo.quotInfo rec => reduceQuotRec rec lvls e.getAppArgs done whnfCoreImp
|
||||
| c@(ConstantInfo.defnInfo _) => do
|
||||
let unfold? ← isAuxDef? c.name
|
||||
if unfold? then
|
||||
deltaBetaDefinition c lvls e.getAppRevArgs done whnfCoreImp
|
||||
else
|
||||
done ()
|
||||
| _ => done ()
|
||||
| e@(Expr.proj _ i c _) =>
|
||||
let c ← whnf c
|
||||
matchConstAux c.getAppFn (fun _ => pure e) fun cinfo lvls =>
|
||||
|
|
|
|||
2
stage0/src/Lean/PrettyPrinter/Parenthesizer.lean
generated
2
stage0/src/Lean/PrettyPrinter/Parenthesizer.lean
generated
|
|
@ -212,7 +212,7 @@ def maybeParenthesize (cat : Name) (canJuxtapose : Bool) (mkParen : Syntax → S
|
|||
x
|
||||
let { minPrec := some minPrec, trailPrec := trailPrec, trailCat := trailCat, .. } ← get
|
||||
| panic! "maybeParenthesize: visited a syntax tree without precedences?!"
|
||||
trace[PrettyPrinter.parenthesize]! ("...precedences are {prec} >? {minPrec}" ++ if canJuxtapose then msg!", {(trailPrec, trailCat)} <=? {(st.contPrec, st.contCat)}" else "")
|
||||
trace[PrettyPrinter.parenthesize]! ("...precedences are {prec} >? {minPrec}" ++ if canJuxtapose then m!", {(trailPrec, trailCat)} <=? {(st.contPrec, st.contCat)}" else "")
|
||||
-- Should we parenthesize?
|
||||
if (prec > minPrec || canJuxtapose && match trailPrec, st.contPrec with some trailPrec, some contPrec => trailCat == st.contCat && trailPrec <= contPrec | _, _ => false) then
|
||||
-- The recursive `visit` call, by the invariant, has moved to the preceding node. In order to parenthesize
|
||||
|
|
|
|||
4
stage0/src/Lean/Util/Trace.lean
generated
4
stage0/src/Lean/Util/Trace.lean
generated
|
|
@ -146,7 +146,7 @@ syntax "trace[" ident "]!" (interpolatedStr(term) <|> term) : term
|
|||
macro_rules
|
||||
| `(trace[$id]! $s) =>
|
||||
if s.getKind == interpolatedStrKind then
|
||||
`(Lean.trace $(quote id.getId) fun _ => msg! $s)
|
||||
`(Lean.trace $(quote id.getId) fun _ => m! $s)
|
||||
else
|
||||
`(Lean.trace $(quote id.getId) fun _ => ($s : MessageData))
|
||||
|
||||
|
|
@ -170,7 +170,7 @@ def withNestedTraces [MonadFinally m] (x : m α) : m α := do
|
|||
currTraces ++ traces -- No nest of nest
|
||||
else
|
||||
let d := traces.foldl (init := MessageData.nil) fun d elem =>
|
||||
if d.isNil then elem.msg else msg!"{d}\n{elem.msg}"
|
||||
if d.isNil then elem.msg else m!"{d}\n{elem.msg}"
|
||||
currTraces.push { ref := ref, msg := MessageData.nestD d }
|
||||
|
||||
end Lean
|
||||
|
|
|
|||
2
stage0/stdlib/CMakeLists.txt
generated
2
stage0/stdlib/CMakeLists.txt
generated
File diff suppressed because one or more lines are too long
705
stage0/stdlib/Init/Core.c
generated
705
stage0/stdlib/Init/Core.c
generated
File diff suppressed because it is too large
Load diff
4
stage0/stdlib/Init/Data/Array/Macros.c
generated
4
stage0/stdlib/Init/Data/Array/Macros.c
generated
|
|
@ -54,7 +54,6 @@ lean_object* l_Array___kind_term____x40_Init_Data_Array_Macros___hyg_3____closed
|
|||
lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__13;
|
||||
lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__21;
|
||||
extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3372____closed__3;
|
||||
extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
lean_object* l_Array___kind_term____x40_Init_Data_Array_Macros___hyg_3____closed__9;
|
||||
lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__9;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__18;
|
||||
|
|
@ -89,6 +88,7 @@ extern lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__11;
|
|||
lean_object* l_Array___kind_term____x40_Init_Data_Array_Macros___hyg_3____closed__21;
|
||||
extern lean_object* l_Lean_Name_hasMacroScopes___closed__1;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__3;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
lean_object* lean_name_mk_numeral(lean_object*, lean_object*);
|
||||
lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__16;
|
||||
lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__24;
|
||||
|
|
@ -281,7 +281,7 @@ static lean_object* _init_l_Array___kind_term____x40_Init_Data_Array_Macros___hy
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
x_2 = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
|
|||
91
stage0/stdlib/Init/Data/Range.c
generated
91
stage0/stdlib/Init/Data/Range.c
generated
|
|
@ -57,7 +57,6 @@ lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__19;
|
|||
lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_869____closed__1;
|
||||
lean_object* l_Std_Range_forIn_loop_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_869____closed__2;
|
||||
extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20;
|
||||
lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_1252_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_869_(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -90,6 +89,7 @@ lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_208____closed_
|
|||
lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21;
|
||||
lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_154____closed__4;
|
||||
lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__13;
|
||||
lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_208____closed__3;
|
||||
lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed__7;
|
||||
|
|
@ -104,10 +104,10 @@ lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__11;
|
|||
extern lean_object* l_Lean_Name_hasMacroScopes___closed__1;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__3;
|
||||
lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_564____closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed__11;
|
||||
lean_object* lean_name_mk_numeral(lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_869____closed__7;
|
||||
lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed__4;
|
||||
lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_266____closed__1;
|
||||
extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3372____closed__1;
|
||||
|
|
@ -119,7 +119,6 @@ lean_object* l_Std_Range_forIn_loop_match__1(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__3;
|
||||
lean_object* l_Std_Range_forIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7;
|
||||
lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_564____closed__8;
|
||||
lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed__6;
|
||||
|
|
@ -499,7 +498,7 @@ static lean_object* _init_l_Std_Range___kind_term____x40_Init_Data_Range___hyg_1
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
x_2 = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -971,41 +970,19 @@ return x_3;
|
|||
static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_2 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
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_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Array_empty___closed__1;
|
||||
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed__3;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20() {
|
||||
static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed__3;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__19;
|
||||
x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____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);
|
||||
|
|
@ -1013,7 +990,7 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21() {
|
||||
static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -1023,7 +1000,7 @@ x_3 = lean_name_mk_string(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22() {
|
||||
static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -1035,19 +1012,19 @@ lean_ctor_set(x_3, 1, x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23() {
|
||||
static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24() {
|
||||
static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1055,12 +1032,12 @@ x_1 = lean_mk_string("}");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25() {
|
||||
static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_3 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
|
|
@ -1147,22 +1124,22 @@ lean_ctor_set(x_35, 1, x_33);
|
|||
x_36 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__5;
|
||||
x_37 = lean_array_push(x_36, x_35);
|
||||
x_38 = lean_array_push(x_37, x_26);
|
||||
x_39 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21;
|
||||
x_39 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__19;
|
||||
x_40 = l_Lean_addMacroScope(x_17, x_39, x_16);
|
||||
x_41 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20;
|
||||
x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_41 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18;
|
||||
x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21;
|
||||
x_43 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_43, 0, x_20);
|
||||
lean_ctor_set(x_43, 1, x_41);
|
||||
lean_ctor_set(x_43, 2, x_40);
|
||||
lean_ctor_set(x_43, 3, x_42);
|
||||
x_44 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18;
|
||||
x_44 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_45 = lean_array_push(x_44, x_43);
|
||||
x_46 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_46, 0, x_34);
|
||||
lean_ctor_set(x_46, 1, x_45);
|
||||
x_47 = lean_array_push(x_38, x_46);
|
||||
x_48 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_48 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_49 = lean_array_push(x_47, x_48);
|
||||
x_50 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2;
|
||||
x_51 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -1378,22 +1355,22 @@ lean_ctor_set(x_50, 1, x_48);
|
|||
x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__5;
|
||||
x_52 = lean_array_push(x_51, x_50);
|
||||
x_53 = lean_array_push(x_52, x_28);
|
||||
x_54 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21;
|
||||
x_54 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__19;
|
||||
x_55 = l_Lean_addMacroScope(x_19, x_54, x_18);
|
||||
x_56 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20;
|
||||
x_57 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_56 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18;
|
||||
x_57 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21;
|
||||
x_58 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_58, 0, x_22);
|
||||
lean_ctor_set(x_58, 1, x_56);
|
||||
lean_ctor_set(x_58, 2, x_55);
|
||||
lean_ctor_set(x_58, 3, x_57);
|
||||
x_59 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18;
|
||||
x_59 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_60 = lean_array_push(x_59, x_58);
|
||||
x_61 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_61, 0, x_49);
|
||||
lean_ctor_set(x_61, 1, x_60);
|
||||
x_62 = lean_array_push(x_53, x_61);
|
||||
x_63 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_63 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_64 = lean_array_push(x_62, x_63);
|
||||
x_65 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2;
|
||||
x_66 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -1607,22 +1584,22 @@ lean_ctor_set(x_64, 1, x_62);
|
|||
x_65 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__5;
|
||||
x_66 = lean_array_push(x_65, x_64);
|
||||
x_67 = lean_array_push(x_66, x_30);
|
||||
x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21;
|
||||
x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__19;
|
||||
x_69 = l_Lean_addMacroScope(x_21, x_68, x_20);
|
||||
x_70 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20;
|
||||
x_71 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_70 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18;
|
||||
x_71 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21;
|
||||
x_72 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_72, 0, x_24);
|
||||
lean_ctor_set(x_72, 1, x_70);
|
||||
lean_ctor_set(x_72, 2, x_69);
|
||||
lean_ctor_set(x_72, 3, x_71);
|
||||
x_73 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18;
|
||||
x_73 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_74 = lean_array_push(x_73, x_72);
|
||||
x_75 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_75, 0, x_63);
|
||||
lean_ctor_set(x_75, 1, x_74);
|
||||
x_76 = lean_array_push(x_67, x_75);
|
||||
x_77 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_77 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_78 = lean_array_push(x_76, x_77);
|
||||
x_79 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2;
|
||||
x_80 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -1739,22 +1716,22 @@ lean_ctor_set(x_50, 1, x_48);
|
|||
x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__5;
|
||||
x_52 = lean_array_push(x_51, x_50);
|
||||
x_53 = lean_array_push(x_52, x_28);
|
||||
x_54 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21;
|
||||
x_54 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__19;
|
||||
x_55 = l_Lean_addMacroScope(x_19, x_54, x_18);
|
||||
x_56 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20;
|
||||
x_57 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_56 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18;
|
||||
x_57 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21;
|
||||
x_58 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_58, 0, x_22);
|
||||
lean_ctor_set(x_58, 1, x_56);
|
||||
lean_ctor_set(x_58, 2, x_55);
|
||||
lean_ctor_set(x_58, 3, x_57);
|
||||
x_59 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18;
|
||||
x_59 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_60 = lean_array_push(x_59, x_58);
|
||||
x_61 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_61, 0, x_49);
|
||||
lean_ctor_set(x_61, 1, x_60);
|
||||
x_62 = lean_array_push(x_53, x_61);
|
||||
x_63 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_63 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_64 = lean_array_push(x_62, x_63);
|
||||
x_65 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2;
|
||||
x_66 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -1901,10 +1878,6 @@ l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22 = _init_l_Std
|
|||
lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22);
|
||||
l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23();
|
||||
lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23);
|
||||
l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24();
|
||||
lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24);
|
||||
l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25();
|
||||
lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25);
|
||||
l_Std_Range_myMacro____x40_Init_Data_Range___hyg_564____closed__1 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_564____closed__1();
|
||||
lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_564____closed__1);
|
||||
l_Std_Range_myMacro____x40_Init_Data_Range___hyg_564____closed__2 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_564____closed__2();
|
||||
|
|
|
|||
545
stage0/stdlib/Init/Data/ToString/Macro.c
generated
545
stage0/stdlib/Init/Data/ToString/Macro.c
generated
|
|
@ -14,71 +14,49 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__7;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2;
|
||||
lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__10;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__3;
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__8;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStrChunks(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2_;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__13;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__12;
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__10;
|
||||
lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__12;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__8;
|
||||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__6;
|
||||
extern lean_object* l_Lean_Init_Meta___instance__7___closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__11;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__1;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__5;
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__4;
|
||||
extern lean_object* l_Lean_Init_Meta___instance__7___closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__6;
|
||||
lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__8;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__5;
|
||||
extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__1;
|
||||
lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__2;
|
||||
extern lean_object* l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__2;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__8;
|
||||
lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__9;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__3;
|
||||
lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__13;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__9;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__8;
|
||||
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__6;
|
||||
extern lean_object* l_Lean_nullKind___closed__2;
|
||||
lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__6;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__7;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__1;
|
||||
extern lean_object* l_Lean_Name_hasMacroScopes___closed__1;
|
||||
lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__3;
|
||||
lean_object* lean_name_mk_numeral(lean_object*, lean_object*);
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__7;
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3372____closed__2;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__9;
|
||||
lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__7;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__5;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__11;
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__12;
|
||||
static lean_object* _init_l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -219,246 +197,22 @@ x_1 = l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__13;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("++");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__1;
|
||||
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;
|
||||
}
|
||||
}
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
x_6 = l___kind_term____x40_Init_Notation___hyg_3____closed__8;
|
||||
x_7 = lean_name_mk_string(x_1, x_6);
|
||||
x_8 = l_Lean_Name_hasMacroScopes___closed__1;
|
||||
x_9 = lean_name_mk_string(x_7, x_8);
|
||||
x_10 = lean_unsigned_to_nat(4161u);
|
||||
x_11 = lean_name_mk_numeral(x_9, x_10);
|
||||
x_12 = l_Array_empty___closed__1;
|
||||
x_13 = lean_array_push(x_12, x_2);
|
||||
x_14 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2;
|
||||
x_15 = lean_array_push(x_13, x_14);
|
||||
x_16 = lean_array_push(x_15, x_3);
|
||||
x_17 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_17, 0, x_11);
|
||||
lean_ctor_set(x_17, 1, x_16);
|
||||
x_18 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_17);
|
||||
lean_ctor_set(x_18, 1, x_5);
|
||||
return x_18;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("toString");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__1;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__2;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____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___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__5;
|
||||
x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__6;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__7;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; 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;
|
||||
x_4 = lean_ctor_get(x_2, 2);
|
||||
lean_inc(x_4);
|
||||
x_5 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_2);
|
||||
x_6 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__4;
|
||||
x_7 = l_Lean_addMacroScope(x_5, x_6, x_4);
|
||||
x_8 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_9 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__3;
|
||||
x_10 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__8;
|
||||
x_11 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_11, 0, x_8);
|
||||
lean_ctor_set(x_11, 1, x_9);
|
||||
lean_ctor_set(x_11, 2, x_7);
|
||||
lean_ctor_set(x_11, 3, x_10);
|
||||
x_12 = l_Array_empty___closed__1;
|
||||
x_13 = lean_array_push(x_12, x_11);
|
||||
x_14 = lean_array_push(x_12, x_1);
|
||||
x_15 = l_Lean_nullKind___closed__2;
|
||||
x_16 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_14);
|
||||
x_17 = lean_array_push(x_13, x_16);
|
||||
x_18 = l_myMacro____x40_Init_Notation___hyg_38____closed__8;
|
||||
x_19 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
lean_ctor_set(x_19, 1, x_17);
|
||||
x_20 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_19);
|
||||
lean_ctor_set(x_20, 1, x_3);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__7;
|
||||
x_2 = lean_alloc_closure((void*)(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___boxed), 5, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
x_1 = l_Lean_Init_Meta___instance__7___closed__1;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2), 3, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("typeAscription");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6;
|
||||
x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_2 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
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_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Array_empty___closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__5;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Init_Meta___instance__7___closed__1;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Init_Meta___instance__7___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__7;
|
||||
x_3 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__1;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -466,7 +220,7 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__9() {
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -478,12 +232,97 @@ lean_ctor_set(x_3, 1, x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__10() {
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__9;
|
||||
x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__3;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("toString");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__5;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__5;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____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;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__5;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__9;
|
||||
x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__5;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__10;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__11;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
|
|
@ -530,156 +369,40 @@ return x_13;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29;
|
||||
x_14 = lean_unsigned_to_nat(1u);
|
||||
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
|
||||
lean_dec(x_1);
|
||||
x_16 = l_Lean_Syntax_getArgs(x_15);
|
||||
x_16 = lean_ctor_get(x_2, 2);
|
||||
lean_inc(x_16);
|
||||
x_17 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_17);
|
||||
x_18 = l_Lean_Init_Meta___instance__7___closed__2;
|
||||
lean_inc(x_16);
|
||||
lean_inc(x_17);
|
||||
x_19 = l_Lean_addMacroScope(x_17, x_18, x_16);
|
||||
x_20 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_21 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__2;
|
||||
x_22 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_23 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_23, 0, x_20);
|
||||
lean_ctor_set(x_23, 1, x_21);
|
||||
lean_ctor_set(x_23, 2, x_19);
|
||||
lean_ctor_set(x_23, 3, x_22);
|
||||
x_24 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__8;
|
||||
x_25 = l_Lean_addMacroScope(x_17, x_24, x_16);
|
||||
x_26 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__7;
|
||||
x_27 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__12;
|
||||
x_28 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_28, 0, x_20);
|
||||
lean_ctor_set(x_28, 1, x_26);
|
||||
lean_ctor_set(x_28, 2, x_25);
|
||||
lean_ctor_set(x_28, 3, x_27);
|
||||
x_29 = l_Lean_Syntax_expandInterpolatedStr(x_15, x_23, x_28, x_2, x_3);
|
||||
lean_dec(x_15);
|
||||
x_17 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__1;
|
||||
x_18 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__2;
|
||||
lean_inc(x_2);
|
||||
x_19 = l_Lean_Syntax_expandInterpolatedStrChunks(x_16, x_17, x_18, x_2, x_3);
|
||||
lean_dec(x_16);
|
||||
if (lean_obj_tag(x_19) == 0)
|
||||
{
|
||||
uint8_t x_20;
|
||||
x_20 = !lean_is_exclusive(x_19);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46;
|
||||
x_21 = lean_ctor_get(x_19, 0);
|
||||
x_22 = lean_ctor_get(x_2, 2);
|
||||
lean_inc(x_22);
|
||||
x_23 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_2);
|
||||
x_24 = l_Array_empty___closed__1;
|
||||
x_25 = lean_array_push(x_24, x_21);
|
||||
x_26 = l_Lean_Init_Meta___instance__7___closed__2;
|
||||
x_27 = l_Lean_addMacroScope(x_23, x_26, x_22);
|
||||
x_28 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_29 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__8;
|
||||
x_30 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__10;
|
||||
x_31 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_31, 0, x_28);
|
||||
lean_ctor_set(x_31, 1, x_29);
|
||||
lean_ctor_set(x_31, 2, x_27);
|
||||
lean_ctor_set(x_31, 3, x_30);
|
||||
x_32 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__6;
|
||||
x_33 = lean_array_push(x_32, x_31);
|
||||
x_34 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_35 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_35, 0, x_34);
|
||||
lean_ctor_set(x_35, 1, x_33);
|
||||
x_36 = lean_array_push(x_24, x_35);
|
||||
x_37 = l_Lean_nullKind___closed__2;
|
||||
x_38 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_38, 0, x_37);
|
||||
lean_ctor_set(x_38, 1, x_36);
|
||||
x_39 = lean_array_push(x_25, x_38);
|
||||
x_40 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_37);
|
||||
lean_ctor_set(x_40, 1, x_39);
|
||||
x_41 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
x_42 = lean_array_push(x_41, x_40);
|
||||
x_43 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12;
|
||||
x_44 = lean_array_push(x_42, x_43);
|
||||
x_45 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8;
|
||||
x_46 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_46, 0, x_45);
|
||||
lean_ctor_set(x_46, 1, x_44);
|
||||
lean_ctor_set(x_19, 0, x_46);
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74;
|
||||
x_47 = lean_ctor_get(x_19, 0);
|
||||
x_48 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_48);
|
||||
lean_inc(x_47);
|
||||
lean_dec(x_19);
|
||||
x_49 = lean_ctor_get(x_2, 2);
|
||||
lean_inc(x_49);
|
||||
x_50 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_50);
|
||||
lean_dec(x_2);
|
||||
x_51 = l_Array_empty___closed__1;
|
||||
x_52 = lean_array_push(x_51, x_47);
|
||||
x_53 = l_Lean_Init_Meta___instance__7___closed__2;
|
||||
x_54 = l_Lean_addMacroScope(x_50, x_53, x_49);
|
||||
x_55 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_56 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__8;
|
||||
x_57 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__10;
|
||||
x_58 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_58, 0, x_55);
|
||||
lean_ctor_set(x_58, 1, x_56);
|
||||
lean_ctor_set(x_58, 2, x_54);
|
||||
lean_ctor_set(x_58, 3, x_57);
|
||||
x_59 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__6;
|
||||
x_60 = lean_array_push(x_59, x_58);
|
||||
x_61 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_62 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_62, 0, x_61);
|
||||
lean_ctor_set(x_62, 1, x_60);
|
||||
x_63 = lean_array_push(x_51, x_62);
|
||||
x_64 = l_Lean_nullKind___closed__2;
|
||||
x_65 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_65, 0, x_64);
|
||||
lean_ctor_set(x_65, 1, x_63);
|
||||
x_66 = lean_array_push(x_52, x_65);
|
||||
x_67 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_67, 0, x_64);
|
||||
lean_ctor_set(x_67, 1, x_66);
|
||||
x_68 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
x_69 = lean_array_push(x_68, x_67);
|
||||
x_70 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12;
|
||||
x_71 = lean_array_push(x_69, x_70);
|
||||
x_72 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8;
|
||||
x_73 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_73, 0, x_72);
|
||||
lean_ctor_set(x_73, 1, x_71);
|
||||
x_74 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_74, 0, x_73);
|
||||
lean_ctor_set(x_74, 1, x_48);
|
||||
return x_74;
|
||||
return x_29;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_75;
|
||||
lean_dec(x_2);
|
||||
x_75 = !lean_is_exclusive(x_19);
|
||||
if (x_75 == 0)
|
||||
{
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_76; lean_object* x_77; lean_object* x_78;
|
||||
x_76 = lean_ctor_get(x_19, 0);
|
||||
x_77 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_77);
|
||||
lean_inc(x_76);
|
||||
lean_dec(x_19);
|
||||
x_78 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_78, 0, x_76);
|
||||
lean_ctor_set(x_78, 1, x_77);
|
||||
return x_78;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6;
|
||||
x_6 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1(x_1, x_2, x_3, x_4, x_5);
|
||||
lean_dec(x_4);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init_Meta(lean_object*);
|
||||
|
|
@ -723,26 +446,6 @@ l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__13 = _init_l___
|
|||
lean_mark_persistent(l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__13);
|
||||
l___kind_term____x40_Init_Data_ToString_Macro___hyg_2_ = _init_l___kind_term____x40_Init_Data_ToString_Macro___hyg_2_();
|
||||
lean_mark_persistent(l___kind_term____x40_Init_Data_ToString_Macro___hyg_2_);
|
||||
l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__1 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__1();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__1);
|
||||
l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2);
|
||||
l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__1 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__1();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__1);
|
||||
l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__2 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__2();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__2);
|
||||
l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__3 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__3();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__3);
|
||||
l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__4 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__4();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__4);
|
||||
l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__5 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__5();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__5);
|
||||
l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__6 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__6();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__6);
|
||||
l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__7 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__7();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__7);
|
||||
l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__8 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__8();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__8);
|
||||
l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__1 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__1();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__1);
|
||||
l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__2 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__2();
|
||||
|
|
@ -763,6 +466,10 @@ l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__9 = _init_l_myMacr
|
|||
lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__9);
|
||||
l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__10 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__10();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__10);
|
||||
l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__11 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__11();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__11);
|
||||
l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__12 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__12();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__12);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
274
stage0/stdlib/Init/Meta.c
generated
274
stage0/stdlib/Init/Meta.c
generated
|
|
@ -39,10 +39,12 @@ lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*);
|
|||
lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_206____closed__4;
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst___at_Lean_Syntax_setHeadInfoAux___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_nullKind;
|
||||
lean_object* l_Lean_Syntax_getSepArgs___boxed(lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexDigit(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
|
|
@ -51,6 +53,7 @@ lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*);
|
|||
lean_object* l_Lean_Syntax_expandInterpolatedStrChunks_match__2___rarg(lean_object*, lean_object*);
|
||||
uint8_t l_USize_decEq(size_t, size_t);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__8;
|
||||
uint32_t l_Lean_idBeginEscape;
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar_match__1(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -62,6 +65,7 @@ lean_object* l_Lean_Syntax_decodeStrLitAux_match__1(lean_object*);
|
|||
lean_object* l_ReaderT_Init_Prelude___instance__51___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_mkSep(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Init_Meta___instance__9_match__1(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst_match__1(lean_object*, lean_object*);
|
||||
lean_object* l_Array_filterSepElemsM___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_capitalize(lean_object*);
|
||||
|
|
@ -78,6 +82,7 @@ lean_object* l_Lean_Syntax_toNat___boxed(lean_object*);
|
|||
lean_object* l_Lean_Init_Meta___instance__10(lean_object*);
|
||||
lean_object* l_Lean_Init_Meta___instance__11___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_identToAtom_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__12;
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar(lean_object*, lean_object*);
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_expandInterpolatedStrChunks___spec__1___lambda__2___closed__1;
|
||||
|
|
@ -93,6 +98,7 @@ lean_object* l_Lean_Syntax_isInterpolatedStrLit_x3f_match__1___rarg(lean_object*
|
|||
lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__3;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_findAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Char_isDigit(uint32_t);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
lean_object* l_Lean_Syntax_setTailInfo_match__1(lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_isGreek___boxed(lean_object*);
|
||||
|
|
@ -128,6 +134,7 @@ lean_object* l_Array_filterSepElemsM___at_Array_filterSepElems___spec__1(lean_ob
|
|||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
lean_object* l_Lean_mkAtom(lean_object*);
|
||||
lean_object* l_Lean_NameGenerator_namePrefix___default;
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_filterSepElems___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkIdentFrom___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_setHeadInfo(lean_object*, lean_object*);
|
||||
|
|
@ -174,9 +181,9 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
|||
uint8_t l_Init_Prelude___instance__8___rarg(uint8_t);
|
||||
lean_object* l_Lean_Syntax_setHeadInfoAux_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Init_Meta___instance__9___rarg___closed__2;
|
||||
lean_object* l_Lean_Name_appendIndexAfter___closed__1;
|
||||
lean_object* l_Lean_Syntax_mkStrLit___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_mkApp_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_numLitKind;
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStrChunks_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeDecimalLitAux(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -307,13 +314,13 @@ lean_object* l_Lean_Syntax_unsetTrailing_match__1(lean_object*);
|
|||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_expandInterpolatedStrChunks___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_decodeCharLit(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__6;
|
||||
lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__1;
|
||||
uint8_t l_Char_isAlpha(uint32_t);
|
||||
lean_object* l_Lean_Option_hasQuote(lean_object*);
|
||||
uint8_t l_Lean_Syntax_isAtom(lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Array_getSepElems___spec__1(lean_object*);
|
||||
lean_object* l_Lean_Syntax_isToken_match__1(lean_object*);
|
||||
extern lean_object* l_Lean_nullKind___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6957____closed__5;
|
||||
lean_object* l_Lean_Init_Meta___instance__6(lean_object*);
|
||||
uint8_t l_Lean_isLetterLike(uint32_t);
|
||||
|
|
@ -338,10 +345,12 @@ lean_object* l_Lean_Syntax_mkApp___closed__1;
|
|||
uint8_t l_UInt32_decEq(uint32_t, uint32_t);
|
||||
lean_object* l_Lean_Syntax_decodeQuotedChar_match__6(lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_quoteName_match__1(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
lean_object* l_Lean_Name_appendAfter(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getSepArgs(lean_object*);
|
||||
lean_object* l_Lean_Syntax_isIdent_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkHole(lean_object*);
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Array_getSepElems___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStrChunks___closed__1;
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStrChunks_match__3___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -385,10 +394,11 @@ lean_object* l_Lean_Syntax_isNameLit_x3f___boxed(lean_object*);
|
|||
lean_object* l_Lean_Syntax_isCharLit_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Init_Meta___instance__8;
|
||||
lean_object* l_Lean_mkHole___closed__1;
|
||||
lean_object* l_Lean_isIdBeginEscape___boxed(lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__1;
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__4;
|
||||
lean_object* l_Lean_Init_Meta___instance__3;
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexLitAux_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -427,10 +437,10 @@ lean_object* l_Lean_Syntax_decodeStrLit(lean_object*);
|
|||
uint8_t l_Lean_isIdFirst(uint32_t);
|
||||
lean_object* l_Lean_Syntax_findAux_match__1(lean_object*);
|
||||
lean_object* l_Lean_Syntax_isNone___boxed(lean_object*);
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2;
|
||||
lean_object* l_Lean_Syntax_isToken___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getOptional_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkCIdentFrom___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkHole___closed__2;
|
||||
lean_object* l_Lean_mkCIdentFrom___closed__1;
|
||||
lean_object* l_Lean_Syntax_getTailInfo___boxed(lean_object*);
|
||||
lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__3;
|
||||
|
|
@ -459,6 +469,7 @@ lean_object* l_Lean_Syntax_decodeQuotedChar_match__1(lean_object*);
|
|||
lean_object* l_Lean_mkCIdentFrom___closed__2;
|
||||
lean_object* lean_nat_mod(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_quoteName___closed__3;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___at_Array_filterSepElems___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_quoteOption_match__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Init_Meta___instance__4___boxed(lean_object*);
|
||||
|
|
@ -472,11 +483,14 @@ lean_object* l_Lean_mkAtomFrom___boxed(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Syntax_decodeNatLitVal___boxed(lean_object*);
|
||||
lean_object* l_Array_filterSepElemsM___at_Array_filterSepElems___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_quoteOption_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__1;
|
||||
lean_object* l_Lean_monadNameGeneratorLift___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_decodeNatLitVal___closed__1;
|
||||
lean_object* l_Lean_Init_Meta___instance__10___rarg(lean_object*);
|
||||
lean_object* l_Lean_Init_Meta___instance__4___closed__1;
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr___closed__1;
|
||||
lean_object* l_Lean_Syntax_decodeQuotedChar_match__5(lean_object*);
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkSepArray___closed__1;
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeBinLitAux___boxed(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_UInt32_decLe(uint32_t, uint32_t);
|
||||
|
|
@ -1704,14 +1718,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Name_appendIndexAfter_match__1___rarg),
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Name_appendIndexAfter___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("_");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Name_appendIndexAfter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1723,7 +1729,7 @@ lean_inc(x_3);
|
|||
x_4 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_1);
|
||||
x_5 = l_Lean_Name_appendIndexAfter___closed__1;
|
||||
x_5 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
x_6 = lean_string_append(x_4, x_5);
|
||||
x_7 = l_Nat_repr(x_2);
|
||||
x_8 = lean_string_append(x_6, x_7);
|
||||
|
|
@ -1735,7 +1741,7 @@ else
|
|||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_10 = l_Nat_repr(x_2);
|
||||
x_11 = l_Lean_Name_appendIndexAfter___closed__1;
|
||||
x_11 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
x_12 = lean_string_append(x_11, x_10);
|
||||
lean_dec(x_10);
|
||||
x_13 = lean_name_mk_string(x_1, x_12);
|
||||
|
|
@ -4912,33 +4918,15 @@ return x_7;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_mkHole___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("hole");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_mkHole___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6;
|
||||
x_2 = l_Lean_mkHole___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_mkHole(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;
|
||||
x_2 = l_Lean_Name_appendIndexAfter___closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
x_3 = l_Lean_mkAtomFrom(x_1, x_2);
|
||||
x_4 = l_Lean_mkOptionalNode___closed__2;
|
||||
x_5 = lean_array_push(x_4, x_3);
|
||||
x_6 = l_Lean_mkHole___closed__2;
|
||||
x_6 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
x_7 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_6);
|
||||
lean_ctor_set(x_7, 1, x_5);
|
||||
|
|
@ -10643,6 +10631,212 @@ lean_dec(x_1);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("++");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_2 = l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__1;
|
||||
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;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_5 = l_Array_empty___closed__1;
|
||||
x_6 = lean_array_push(x_5, x_1);
|
||||
x_7 = l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2;
|
||||
x_8 = lean_array_push(x_6, x_7);
|
||||
x_9 = lean_array_push(x_8, x_2);
|
||||
x_10 = l___kind_term____x40_Init_Notation___hyg_4161____closed__1;
|
||||
x_11 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_11, 0, x_10);
|
||||
lean_ctor_set(x_11, 1, x_9);
|
||||
x_12 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_12, 0, x_11);
|
||||
lean_ctor_set(x_12, 1, x_4);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_5 = l_Array_empty___closed__1;
|
||||
x_6 = lean_array_push(x_5, x_1);
|
||||
x_7 = lean_array_push(x_5, x_2);
|
||||
x_8 = l_Lean_nullKind___closed__2;
|
||||
x_9 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_9, 0, x_8);
|
||||
lean_ctor_set(x_9, 1, x_7);
|
||||
x_10 = lean_array_push(x_6, x_9);
|
||||
x_11 = l_myMacro____x40_Init_Notation___hyg_38____closed__8;
|
||||
x_12 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_12, 0, x_11);
|
||||
lean_ctor_set(x_12, 1, x_10);
|
||||
x_13 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_12);
|
||||
lean_ctor_set(x_13, 1, x_4);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Syntax_expandInterpolatedStr___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Syntax_expandInterpolatedStr___lambda__1___boxed), 4, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_6 = l_Lean_Syntax_getArgs(x_1);
|
||||
x_7 = lean_alloc_closure((void*)(l_Lean_Syntax_expandInterpolatedStr___lambda__2___boxed), 4, 1);
|
||||
lean_closure_set(x_7, 0, x_3);
|
||||
x_8 = l_Lean_Syntax_expandInterpolatedStr___closed__1;
|
||||
x_9 = l_Lean_Syntax_expandInterpolatedStrChunks(x_6, x_8, x_7, x_4, x_5);
|
||||
lean_dec(x_6);
|
||||
if (lean_obj_tag(x_9) == 0)
|
||||
{
|
||||
uint8_t x_10;
|
||||
x_10 = !lean_is_exclusive(x_9);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28;
|
||||
x_11 = lean_ctor_get(x_9, 0);
|
||||
x_12 = l_Array_empty___closed__1;
|
||||
x_13 = lean_array_push(x_12, x_11);
|
||||
x_14 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_15 = lean_array_push(x_14, x_2);
|
||||
x_16 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_17 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_17, 0, x_16);
|
||||
lean_ctor_set(x_17, 1, x_15);
|
||||
x_18 = lean_array_push(x_12, x_17);
|
||||
x_19 = l_Lean_nullKind___closed__2;
|
||||
x_20 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_19);
|
||||
lean_ctor_set(x_20, 1, x_18);
|
||||
x_21 = lean_array_push(x_13, x_20);
|
||||
x_22 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_19);
|
||||
lean_ctor_set(x_22, 1, x_21);
|
||||
x_23 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
x_24 = lean_array_push(x_23, x_22);
|
||||
x_25 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12;
|
||||
x_26 = lean_array_push(x_24, x_25);
|
||||
x_27 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8;
|
||||
x_28 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_27);
|
||||
lean_ctor_set(x_28, 1, x_26);
|
||||
lean_ctor_set(x_9, 0, x_28);
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48;
|
||||
x_29 = lean_ctor_get(x_9, 0);
|
||||
x_30 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_30);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_9);
|
||||
x_31 = l_Array_empty___closed__1;
|
||||
x_32 = lean_array_push(x_31, x_29);
|
||||
x_33 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_34 = lean_array_push(x_33, x_2);
|
||||
x_35 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_36 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_36, 0, x_35);
|
||||
lean_ctor_set(x_36, 1, x_34);
|
||||
x_37 = lean_array_push(x_31, x_36);
|
||||
x_38 = l_Lean_nullKind___closed__2;
|
||||
x_39 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_39, 0, x_38);
|
||||
lean_ctor_set(x_39, 1, x_37);
|
||||
x_40 = lean_array_push(x_32, x_39);
|
||||
x_41 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_41, 0, x_38);
|
||||
lean_ctor_set(x_41, 1, x_40);
|
||||
x_42 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
x_43 = lean_array_push(x_42, x_41);
|
||||
x_44 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12;
|
||||
x_45 = lean_array_push(x_43, x_44);
|
||||
x_46 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8;
|
||||
x_47 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_47, 0, x_46);
|
||||
lean_ctor_set(x_47, 1, x_45);
|
||||
x_48 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_48, 0, x_47);
|
||||
lean_ctor_set(x_48, 1, x_30);
|
||||
return x_48;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_49;
|
||||
lean_dec(x_2);
|
||||
x_49 = !lean_is_exclusive(x_9);
|
||||
if (x_49 == 0)
|
||||
{
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_50; lean_object* x_51; lean_object* x_52;
|
||||
x_50 = lean_ctor_get(x_9, 0);
|
||||
x_51 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_51);
|
||||
lean_inc(x_50);
|
||||
lean_dec(x_9);
|
||||
x_52 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_52, 0, x_50);
|
||||
lean_ctor_set(x_52, 1, x_51);
|
||||
return x_52;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_Lean_Syntax_expandInterpolatedStr___lambda__1(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_Lean_Syntax_expandInterpolatedStr___lambda__2(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6;
|
||||
x_6 = l_Lean_Syntax_expandInterpolatedStr(x_1, x_2, x_3, x_4, x_5);
|
||||
lean_dec(x_1);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_getSepArgs___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -10818,8 +11012,6 @@ l_Lean_Name_Init_Meta___instance__1___closed__1 = _init_l_Lean_Name_Init_Meta___
|
|||
lean_mark_persistent(l_Lean_Name_Init_Meta___instance__1___closed__1);
|
||||
l_Lean_Name_Init_Meta___instance__1 = _init_l_Lean_Name_Init_Meta___instance__1();
|
||||
lean_mark_persistent(l_Lean_Name_Init_Meta___instance__1);
|
||||
l_Lean_Name_appendIndexAfter___closed__1 = _init_l_Lean_Name_appendIndexAfter___closed__1();
|
||||
lean_mark_persistent(l_Lean_Name_appendIndexAfter___closed__1);
|
||||
l_Lean_NameGenerator_namePrefix___default___closed__1 = _init_l_Lean_NameGenerator_namePrefix___default___closed__1();
|
||||
lean_mark_persistent(l_Lean_NameGenerator_namePrefix___default___closed__1);
|
||||
l_Lean_NameGenerator_namePrefix___default___closed__2 = _init_l_Lean_NameGenerator_namePrefix___default___closed__2();
|
||||
|
|
@ -10846,10 +11038,6 @@ l_Lean_mkOptionalNode___closed__1 = _init_l_Lean_mkOptionalNode___closed__1();
|
|||
lean_mark_persistent(l_Lean_mkOptionalNode___closed__1);
|
||||
l_Lean_mkOptionalNode___closed__2 = _init_l_Lean_mkOptionalNode___closed__2();
|
||||
lean_mark_persistent(l_Lean_mkOptionalNode___closed__2);
|
||||
l_Lean_mkHole___closed__1 = _init_l_Lean_mkHole___closed__1();
|
||||
lean_mark_persistent(l_Lean_mkHole___closed__1);
|
||||
l_Lean_mkHole___closed__2 = _init_l_Lean_mkHole___closed__2();
|
||||
lean_mark_persistent(l_Lean_mkHole___closed__2);
|
||||
l_Lean_Syntax_mkApp___closed__1 = _init_l_Lean_Syntax_mkApp___closed__1();
|
||||
lean_mark_persistent(l_Lean_Syntax_mkApp___closed__1);
|
||||
l_Lean_Syntax_decodeNatLitVal___closed__1 = _init_l_Lean_Syntax_decodeNatLitVal___closed__1();
|
||||
|
|
@ -10942,6 +11130,12 @@ l_Array_forInUnsafe_loop___at_Lean_Syntax_expandInterpolatedStrChunks___spec__1_
|
|||
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Syntax_expandInterpolatedStrChunks___spec__1___lambda__2___closed__1);
|
||||
l_Lean_Syntax_expandInterpolatedStrChunks___closed__1 = _init_l_Lean_Syntax_expandInterpolatedStrChunks___closed__1();
|
||||
lean_mark_persistent(l_Lean_Syntax_expandInterpolatedStrChunks___closed__1);
|
||||
l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__1 = _init_l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__1();
|
||||
lean_mark_persistent(l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__1);
|
||||
l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2 = _init_l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2();
|
||||
lean_mark_persistent(l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2);
|
||||
l_Lean_Syntax_expandInterpolatedStr___closed__1 = _init_l_Lean_Syntax_expandInterpolatedStr___closed__1();
|
||||
lean_mark_persistent(l_Lean_Syntax_expandInterpolatedStr___closed__1);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
791
stage0/stdlib/Init/Notation.c
generated
791
stage0/stdlib/Init/Notation.c
generated
|
|
@ -44,8 +44,11 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_6957__expandListLit___boxed(le
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_6031____closed__3;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_2848____closed__5;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__8;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__2;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__3;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__9;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_839____closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__5;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__4;
|
||||
|
|
@ -53,6 +56,7 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__6;
|
|||
lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__12;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2384____closed__5;
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__5;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_206____closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__8;
|
||||
|
|
@ -66,6 +70,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_4196_(lean_object*, lean_objec
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_4532_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6759_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6957_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_5787_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6153_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6031_(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -103,6 +108,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_4532____closed__6;
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_3212____closed__1;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__14;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_5909____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6031____closed__1;
|
||||
|
|
@ -140,6 +146,8 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__3;
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__6;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__5;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__8;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__5;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_4700____closed__3;
|
||||
|
|
@ -150,6 +158,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_4700____closed__4;
|
|||
lean_object* l___kind_term____x40_Init_Notation___hyg_3505____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__8;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_335____closed__6;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__15;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__9;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__5;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__7;
|
||||
|
|
@ -186,6 +195,7 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__13;
|
|||
lean_object* l___kind_stx____x40_Init_Notation___hyg_5672____closed__1;
|
||||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_6910_;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_7200_;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_2349_;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_2514_;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_6702_;
|
||||
|
|
@ -228,18 +238,22 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__9;
|
|||
lean_object* l___kind_term____x40_Init_Notation___hyg_503____closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__7;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_4497____closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__19;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__6;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__2;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__1;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__8;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_4497____closed__3;
|
||||
lean_object* l___kind_stx____x40_Init_Notation___hyg_5672____closed__9;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__7;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_2514____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__6;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__9;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_1681____closed__2;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__3;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_1512____closed__3;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__9;
|
||||
|
|
@ -260,6 +274,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__6;
|
|||
lean_object* l___kind_term____x40_Init_Notation___hyg_5505____closed__4;
|
||||
lean_object* l___kind_stx____x40_Init_Notation___hyg_5672____closed__2;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_1007____closed__3;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__4;
|
||||
lean_object* l___kind_stx____x40_Init_Notation___hyg_5699____closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2384____closed__2;
|
||||
|
|
@ -291,7 +306,10 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__12;
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__7;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__3;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__15;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__18;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__5;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__5;
|
||||
|
|
@ -300,6 +318,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_6153____closed__8;
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__1;
|
||||
lean_object* l___kind_stx____x40_Init_Notation___hyg_5753____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__16;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_2514____closed__4;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__16;
|
||||
lean_object* l___kind_stx____x40_Init_Notation___hyg_5699____closed__4;
|
||||
|
|
@ -328,6 +347,7 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_1175____closed__1;
|
|||
lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__19;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__7;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__5;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__13;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6153____closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6759____closed__5;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_1512____closed__5;
|
||||
|
|
@ -380,6 +400,8 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_4532____closed__2;
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__9;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__8;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__14;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_2514____closed__5;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__8;
|
||||
|
|
@ -402,6 +424,7 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__3;
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__17;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__6;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__7;
|
||||
|
|
@ -418,9 +441,12 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__2;
|
|||
lean_object* l___kind_term____x40_Init_Notation___hyg_4665____closed__3;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_5337____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6153____closed__7;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_5909____closed__1;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__12;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__7;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2384____closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__20;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__13;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__5;
|
||||
|
|
@ -437,12 +463,14 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__1;
|
|||
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_3341____closed__1;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_2679____closed__5;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__11;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__6;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__6;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__2;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__5;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_2019____closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__7;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__21;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__10;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_5001____closed__6;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__5;
|
||||
|
|
@ -475,11 +503,13 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__5;
|
|||
lean_object* l___kind_term____x40_Init_Notation___hyg_1512____closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__4;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_2349____closed__5;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_4329____closed__2;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__2;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_4833____closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__8;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__3;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_3833____closed__2;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__4;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_3997____closed__6;
|
||||
|
|
@ -505,6 +535,7 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__1;
|
|||
lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__11;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_1007____closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__2;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__7;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__7;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__6;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_171____closed__5;
|
||||
|
|
@ -514,6 +545,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__4;
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_3212____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__7;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2384____closed__6;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_5169____closed__1;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_1681____closed__5;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_4329____closed__6;
|
||||
|
|
@ -521,6 +553,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__1;
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__6;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_2019____closed__4;
|
||||
lean_object* l___kind_stx____x40_Init_Notation___hyg_5672____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__3;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_3833____closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__6;
|
||||
|
|
@ -542,6 +575,7 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_5001____closed__2;
|
|||
lean_object* l___kind_stx____x40_Init_Notation___hyg_5699____closed__3;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6759____closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__4;
|
||||
|
|
@ -564,6 +598,7 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_2679____closed__4;
|
|||
lean_object* l___kind_term____x40_Init_Notation___hyg_4833____closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__5;
|
||||
lean_object* l___kind_stx____x40_Init_Notation___hyg_5672____closed__10;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_3013____closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__9;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__5;
|
||||
|
|
@ -614,13 +649,16 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_3212____closed__2;
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_3540____closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__1;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__10;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_3341____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__7;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_335____closed__3;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_3341____closed__5;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__10;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__9;
|
||||
|
|
@ -655,6 +693,7 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_839____closed__3;
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__1;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_2349____closed__1;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__6;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_2349____closed__2;
|
||||
lean_object* l___kind_term____x40_Init_Notation___hyg_839____closed__5;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6957____closed__6;
|
||||
|
|
@ -10535,6 +10574,682 @@ return x_27;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__10;
|
||||
x_2 = lean_unsigned_to_nat(7200u);
|
||||
x_3 = lean_name_mk_numeral(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("{ ");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___kind_term____x40_Init_Notation___hyg_7200____closed__2;
|
||||
x_2 = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13;
|
||||
x_2 = l___kind_term____x40_Init_Notation___hyg_7200____closed__3;
|
||||
x_3 = l___kind_term____x40_Init_Notation___hyg_6293____closed__4;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13;
|
||||
x_2 = l___kind_term____x40_Init_Notation___hyg_6293____closed__7;
|
||||
x_3 = l___kind_term____x40_Init_Notation___hyg_6293____closed__9;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_6031____closed__4;
|
||||
x_2 = l___kind_term____x40_Init_Notation___hyg_7200____closed__5;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13;
|
||||
x_2 = l___kind_term____x40_Init_Notation___hyg_7200____closed__4;
|
||||
x_3 = l___kind_term____x40_Init_Notation___hyg_7200____closed__6;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string(" // ");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___kind_term____x40_Init_Notation___hyg_7200____closed__8;
|
||||
x_2 = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13;
|
||||
x_2 = l___kind_term____x40_Init_Notation___hyg_7200____closed__7;
|
||||
x_3 = l___kind_term____x40_Init_Notation___hyg_7200____closed__9;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13;
|
||||
x_2 = l___kind_term____x40_Init_Notation___hyg_7200____closed__10;
|
||||
x_3 = l___kind_term____x40_Init_Notation___hyg_6293____closed__9;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string(" }");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___kind_term____x40_Init_Notation___hyg_7200____closed__12;
|
||||
x_2 = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13;
|
||||
x_2 = l___kind_term____x40_Init_Notation___hyg_7200____closed__11;
|
||||
x_3 = l___kind_term____x40_Init_Notation___hyg_7200____closed__13;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___kind_term____x40_Init_Notation___hyg_7200____closed__1;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l___kind_term____x40_Init_Notation___hyg_7200____closed__14;
|
||||
x_4 = lean_alloc_ctor(3, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l___kind_term____x40_Init_Notation___hyg_7200____closed__15;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("Subtype");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__1;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__1;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l_myMacro____x40_Init_Notation___hyg_7262____closed__2;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__4;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__5;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("typeAscription");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__7;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string(":");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
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_myMacro____x40_Init_Notation___hyg_7262____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Array_empty___closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("hole");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("_");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
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_myMacro____x40_Init_Notation___hyg_7262____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Array_empty___closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__15;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__16;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__18;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__20() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Array_empty___closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__19;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__21() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_nullKind___closed__2;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__20;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__22() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_nullKind___closed__2;
|
||||
x_2 = l_Array_empty___closed__1;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_7262_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
x_4 = l___kind_term____x40_Init_Notation___hyg_7200____closed__1;
|
||||
lean_inc(x_1);
|
||||
x_5 = l_Lean_Syntax_isOfKind(x_1, x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_6 = lean_box(1);
|
||||
x_7 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_6);
|
||||
lean_ctor_set(x_7, 1, x_3);
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_8 = l_Lean_Syntax_getArgs(x_1);
|
||||
x_9 = lean_array_get_size(x_8);
|
||||
lean_dec(x_8);
|
||||
x_10 = lean_unsigned_to_nat(6u);
|
||||
x_11 = lean_nat_dec_eq(x_9, x_10);
|
||||
lean_dec(x_9);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13;
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_12 = lean_box(1);
|
||||
x_13 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_12);
|
||||
lean_ctor_set(x_13, 1, x_3);
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19;
|
||||
x_14 = lean_unsigned_to_nat(1u);
|
||||
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
|
||||
x_16 = lean_unsigned_to_nat(2u);
|
||||
x_17 = l_Lean_Syntax_getArg(x_1, x_16);
|
||||
x_18 = l_Lean_nullKind___closed__2;
|
||||
lean_inc(x_17);
|
||||
x_19 = l_Lean_Syntax_isOfKind(x_17, x_18);
|
||||
if (x_19 == 0)
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21;
|
||||
lean_dec(x_17);
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_20 = lean_box(1);
|
||||
x_21 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_20);
|
||||
lean_ctor_set(x_21, 1, x_3);
|
||||
return x_21;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; uint8_t x_24;
|
||||
x_22 = l_Lean_Syntax_getArgs(x_17);
|
||||
x_23 = lean_array_get_size(x_22);
|
||||
lean_dec(x_22);
|
||||
x_24 = lean_nat_dec_eq(x_23, x_16);
|
||||
if (x_24 == 0)
|
||||
{
|
||||
lean_object* x_25; uint8_t x_26;
|
||||
lean_dec(x_17);
|
||||
x_25 = lean_unsigned_to_nat(0u);
|
||||
x_26 = lean_nat_dec_eq(x_23, x_25);
|
||||
lean_dec(x_23);
|
||||
if (x_26 == 0)
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28;
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_27 = lean_box(1);
|
||||
x_28 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_27);
|
||||
lean_ctor_set(x_28, 1, x_3);
|
||||
return x_28;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75;
|
||||
x_29 = lean_unsigned_to_nat(4u);
|
||||
x_30 = l_Lean_Syntax_getArg(x_1, x_29);
|
||||
lean_dec(x_1);
|
||||
x_31 = lean_ctor_get(x_2, 2);
|
||||
lean_inc(x_31);
|
||||
x_32 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_32);
|
||||
lean_dec(x_2);
|
||||
x_33 = l_myMacro____x40_Init_Notation___hyg_7262____closed__4;
|
||||
x_34 = l_Lean_addMacroScope(x_32, x_33, x_31);
|
||||
x_35 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_36 = l_myMacro____x40_Init_Notation___hyg_7262____closed__3;
|
||||
x_37 = l_myMacro____x40_Init_Notation___hyg_7262____closed__6;
|
||||
x_38 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_38, 0, x_35);
|
||||
lean_ctor_set(x_38, 1, x_36);
|
||||
lean_ctor_set(x_38, 2, x_34);
|
||||
lean_ctor_set(x_38, 3, x_37);
|
||||
x_39 = l_Array_empty___closed__1;
|
||||
x_40 = lean_array_push(x_39, x_38);
|
||||
x_41 = lean_array_push(x_39, x_15);
|
||||
x_42 = l_myMacro____x40_Init_Notation___hyg_7262____closed__21;
|
||||
x_43 = lean_array_push(x_41, x_42);
|
||||
x_44 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_44, 0, x_18);
|
||||
lean_ctor_set(x_44, 1, x_43);
|
||||
x_45 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
x_46 = lean_array_push(x_45, x_44);
|
||||
x_47 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12;
|
||||
x_48 = lean_array_push(x_46, x_47);
|
||||
x_49 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8;
|
||||
x_50 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_50, 0, x_49);
|
||||
lean_ctor_set(x_50, 1, x_48);
|
||||
x_51 = lean_array_push(x_39, x_50);
|
||||
x_52 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_52, 0, x_18);
|
||||
lean_ctor_set(x_52, 1, x_51);
|
||||
x_53 = lean_array_push(x_39, x_52);
|
||||
x_54 = l_myMacro____x40_Init_Notation___hyg_6360____closed__17;
|
||||
x_55 = lean_array_push(x_53, x_54);
|
||||
x_56 = lean_array_push(x_55, x_30);
|
||||
x_57 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15;
|
||||
x_58 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_58, 0, x_57);
|
||||
lean_ctor_set(x_58, 1, x_56);
|
||||
x_59 = l_myMacro____x40_Init_Notation___hyg_6360____closed__13;
|
||||
x_60 = lean_array_push(x_59, x_58);
|
||||
x_61 = l_myMacro____x40_Init_Notation___hyg_6360____closed__11;
|
||||
x_62 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_62, 0, x_61);
|
||||
lean_ctor_set(x_62, 1, x_60);
|
||||
x_63 = lean_array_push(x_39, x_62);
|
||||
x_64 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_65 = lean_array_push(x_63, x_64);
|
||||
x_66 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_66, 0, x_18);
|
||||
lean_ctor_set(x_66, 1, x_65);
|
||||
x_67 = lean_array_push(x_45, x_66);
|
||||
x_68 = lean_array_push(x_67, x_47);
|
||||
x_69 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_69, 0, x_49);
|
||||
lean_ctor_set(x_69, 1, x_68);
|
||||
x_70 = lean_array_push(x_39, x_69);
|
||||
x_71 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_71, 0, x_18);
|
||||
lean_ctor_set(x_71, 1, x_70);
|
||||
x_72 = lean_array_push(x_40, x_71);
|
||||
x_73 = l_myMacro____x40_Init_Notation___hyg_38____closed__8;
|
||||
x_74 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_74, 0, x_73);
|
||||
lean_ctor_set(x_74, 1, x_72);
|
||||
x_75 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_75, 0, x_74);
|
||||
lean_ctor_set(x_75, 1, x_3);
|
||||
return x_75;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128;
|
||||
lean_dec(x_23);
|
||||
x_76 = l_Lean_Syntax_getArg(x_17, x_14);
|
||||
lean_dec(x_17);
|
||||
x_77 = lean_unsigned_to_nat(4u);
|
||||
x_78 = l_Lean_Syntax_getArg(x_1, x_77);
|
||||
lean_dec(x_1);
|
||||
x_79 = lean_ctor_get(x_2, 2);
|
||||
lean_inc(x_79);
|
||||
x_80 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_80);
|
||||
lean_dec(x_2);
|
||||
x_81 = l_myMacro____x40_Init_Notation___hyg_7262____closed__4;
|
||||
x_82 = l_Lean_addMacroScope(x_80, x_81, x_79);
|
||||
x_83 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_84 = l_myMacro____x40_Init_Notation___hyg_7262____closed__3;
|
||||
x_85 = l_myMacro____x40_Init_Notation___hyg_7262____closed__6;
|
||||
x_86 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_86, 0, x_83);
|
||||
lean_ctor_set(x_86, 1, x_84);
|
||||
lean_ctor_set(x_86, 2, x_82);
|
||||
lean_ctor_set(x_86, 3, x_85);
|
||||
x_87 = l_Array_empty___closed__1;
|
||||
x_88 = lean_array_push(x_87, x_86);
|
||||
x_89 = lean_array_push(x_87, x_15);
|
||||
x_90 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_91 = lean_array_push(x_90, x_76);
|
||||
x_92 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_93 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_93, 0, x_92);
|
||||
lean_ctor_set(x_93, 1, x_91);
|
||||
x_94 = lean_array_push(x_87, x_93);
|
||||
x_95 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_95, 0, x_18);
|
||||
lean_ctor_set(x_95, 1, x_94);
|
||||
x_96 = lean_array_push(x_89, x_95);
|
||||
x_97 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_97, 0, x_18);
|
||||
lean_ctor_set(x_97, 1, x_96);
|
||||
x_98 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
x_99 = lean_array_push(x_98, x_97);
|
||||
x_100 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12;
|
||||
x_101 = lean_array_push(x_99, x_100);
|
||||
x_102 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8;
|
||||
x_103 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_103, 0, x_102);
|
||||
lean_ctor_set(x_103, 1, x_101);
|
||||
x_104 = lean_array_push(x_87, x_103);
|
||||
x_105 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_105, 0, x_18);
|
||||
lean_ctor_set(x_105, 1, x_104);
|
||||
x_106 = lean_array_push(x_87, x_105);
|
||||
x_107 = l_myMacro____x40_Init_Notation___hyg_6360____closed__17;
|
||||
x_108 = lean_array_push(x_106, x_107);
|
||||
x_109 = lean_array_push(x_108, x_78);
|
||||
x_110 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15;
|
||||
x_111 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_111, 0, x_110);
|
||||
lean_ctor_set(x_111, 1, x_109);
|
||||
x_112 = l_myMacro____x40_Init_Notation___hyg_6360____closed__13;
|
||||
x_113 = lean_array_push(x_112, x_111);
|
||||
x_114 = l_myMacro____x40_Init_Notation___hyg_6360____closed__11;
|
||||
x_115 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_115, 0, x_114);
|
||||
lean_ctor_set(x_115, 1, x_113);
|
||||
x_116 = lean_array_push(x_87, x_115);
|
||||
x_117 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_118 = lean_array_push(x_116, x_117);
|
||||
x_119 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_119, 0, x_18);
|
||||
lean_ctor_set(x_119, 1, x_118);
|
||||
x_120 = lean_array_push(x_98, x_119);
|
||||
x_121 = lean_array_push(x_120, x_100);
|
||||
x_122 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_122, 0, x_102);
|
||||
lean_ctor_set(x_122, 1, x_121);
|
||||
x_123 = lean_array_push(x_87, x_122);
|
||||
x_124 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_124, 0, x_18);
|
||||
lean_ctor_set(x_124, 1, x_123);
|
||||
x_125 = lean_array_push(x_88, x_124);
|
||||
x_126 = l_myMacro____x40_Init_Notation___hyg_38____closed__8;
|
||||
x_127 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_127, 0, x_126);
|
||||
lean_ctor_set(x_127, 1, x_125);
|
||||
x_128 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_128, 0, x_127);
|
||||
lean_ctor_set(x_128, 1, x_3);
|
||||
return x_128;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init_Prelude(lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
lean_object* initialize_Init_Notation(lean_object* w) {
|
||||
|
|
@ -11750,6 +12465,82 @@ l_myMacro____x40_Init_Notation___hyg_6957____closed__6 = _init_l_myMacro____x40_
|
|||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6957____closed__6);
|
||||
l_myMacro____x40_Init_Notation___hyg_6957____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_6957____closed__7();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6957____closed__7);
|
||||
l___kind_term____x40_Init_Notation___hyg_7200____closed__1 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__1();
|
||||
lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__1);
|
||||
l___kind_term____x40_Init_Notation___hyg_7200____closed__2 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__2();
|
||||
lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__2);
|
||||
l___kind_term____x40_Init_Notation___hyg_7200____closed__3 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__3();
|
||||
lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__3);
|
||||
l___kind_term____x40_Init_Notation___hyg_7200____closed__4 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__4();
|
||||
lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__4);
|
||||
l___kind_term____x40_Init_Notation___hyg_7200____closed__5 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__5();
|
||||
lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__5);
|
||||
l___kind_term____x40_Init_Notation___hyg_7200____closed__6 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__6();
|
||||
lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__6);
|
||||
l___kind_term____x40_Init_Notation___hyg_7200____closed__7 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__7();
|
||||
lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__7);
|
||||
l___kind_term____x40_Init_Notation___hyg_7200____closed__8 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__8();
|
||||
lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__8);
|
||||
l___kind_term____x40_Init_Notation___hyg_7200____closed__9 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__9();
|
||||
lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__9);
|
||||
l___kind_term____x40_Init_Notation___hyg_7200____closed__10 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__10();
|
||||
lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__10);
|
||||
l___kind_term____x40_Init_Notation___hyg_7200____closed__11 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__11();
|
||||
lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__11);
|
||||
l___kind_term____x40_Init_Notation___hyg_7200____closed__12 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__12();
|
||||
lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__12);
|
||||
l___kind_term____x40_Init_Notation___hyg_7200____closed__13 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__13();
|
||||
lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__13);
|
||||
l___kind_term____x40_Init_Notation___hyg_7200____closed__14 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__14();
|
||||
lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__14);
|
||||
l___kind_term____x40_Init_Notation___hyg_7200____closed__15 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__15();
|
||||
lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__15);
|
||||
l___kind_term____x40_Init_Notation___hyg_7200_ = _init_l___kind_term____x40_Init_Notation___hyg_7200_();
|
||||
lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200_);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__1();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__1);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__2();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__2);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__3();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__3);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__4();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__4);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__5();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__5);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__6();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__6);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__7();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__7);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__8();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__8);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__9();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__9);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__10 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__10();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__10);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__11 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__11();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__11);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__12 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__12();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__12);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__13 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__13();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__13);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__14 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__14();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__14);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__15 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__15();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__15);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__16 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__16();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__16);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__17 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__17();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__17);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__18 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__18();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__18);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__19 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__19();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__19);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__20 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__20();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__20);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__21 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__21();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__21);
|
||||
l_myMacro____x40_Init_Notation___hyg_7262____closed__22 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__22();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__22);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
174
stage0/stdlib/Init/NotationExtra.c
generated
174
stage0/stdlib/Init/NotationExtra.c
generated
|
|
@ -33,11 +33,11 @@ lean_object* l_myMacro____x40_Init_NotationExtra___hyg_901____boxed(lean_object*
|
|||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__13;
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1355____closed__6;
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
lean_object* l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
lean_object* l_Lean_explicitBinders___closed__2;
|
||||
lean_object* l_Lean_expandExplicitBindersAux_loop_match__1(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__11;
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1469____closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
lean_object* l_Lean_bracketedExplicitBinders___closed__7;
|
||||
lean_object* l_Lean_unbracktedExplicitBinders___closed__4;
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
|
|
@ -45,7 +45,6 @@ lean_object* l_Lean_binderIdent___closed__3;
|
|||
lean_object* l_Lean_binderIdent___closed__5;
|
||||
lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*);
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1107____closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6031____closed__4;
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_859____closed__5;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
|
|
@ -57,7 +56,6 @@ lean_object* l_Lean_expandExplicitBindersAux___boxed(lean_object*, lean_object*,
|
|||
lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1393____boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_bracketedExplicitBinders___closed__5;
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1107____closed__3;
|
||||
lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
lean_object* l_Lean_expandExplicitBindersAux_loop___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1469____closed__6;
|
||||
lean_object* l_Lean_expandExplicitBindersAux_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -66,12 +64,10 @@ lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1231____closed__7;
|
|||
lean_object* l_Lean_expandBrackedBindersAux_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_expandBrackedBindersAux_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_expandBrackedBindersAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_expandExplicitBindersAux_loop___closed__10;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__7;
|
||||
lean_object* l_Lean_binderIdent;
|
||||
lean_object* l_Lean_expandBrackedBinders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Name_appendIndexAfter___closed__1;
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1469____closed__3;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1231____closed__5;
|
||||
|
|
@ -89,19 +85,15 @@ lean_object* l_Lean_expandExplicitBinders(lean_object*, lean_object*, lean_objec
|
|||
lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1273____closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__17;
|
||||
lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1273____boxed(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__15;
|
||||
lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1273____closed__2;
|
||||
lean_object* l_Lean_expandBrackedBindersAux_loop_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1469____closed__4;
|
||||
lean_object* l_Lean_bracketedExplicitBinders;
|
||||
lean_object* l_Lean_unbracktedExplicitBinders___closed__6;
|
||||
lean_object* l_Lean_bracketedExplicitBinders___closed__2;
|
||||
lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1025____boxed(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8;
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_983____closed__4;
|
||||
lean_object* l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1231____closed__6;
|
||||
uint8_t l_Array_anyMUnsafe_any___at_Lean_expandExplicitBinders___spec__1(lean_object*, lean_object*, size_t, size_t);
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_859____closed__6;
|
||||
|
|
@ -123,6 +115,7 @@ lean_object* l_Lean_expandBrackedBindersAux_loop_match__1(lean_object*);
|
|||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1107____closed__7;
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_983____closed__3;
|
||||
lean_object* l_Lean_Macro_throwError___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
lean_object* l_Lean_expandExplicitBindersAux_loop_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_983____closed__6;
|
||||
|
|
@ -138,7 +131,6 @@ lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
|||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__2;
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_983____closed__5;
|
||||
lean_object* l_Lean_unbracktedExplicitBinders___closed__7;
|
||||
extern lean_object* l_Lean_Name_hasMacroScopes___closed__1;
|
||||
lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1393_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1507_(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -165,11 +157,9 @@ lean_object* l_Lean_expandExplicitBindersAux_loop___closed__1;
|
|||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__7;
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1355____closed__5;
|
||||
lean_object* l_Lean_expandExplicitBindersAux_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_mkHole___closed__2;
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1107____closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6153____closed__6;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__9;
|
||||
lean_object* l_Lean_expandExplicitBindersAux_loop___closed__9;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__9;
|
||||
lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
lean_object* l_Lean_binderIdent___closed__2;
|
||||
|
|
@ -177,6 +167,7 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_binderIdent___closed__1;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__4;
|
||||
extern lean_object* l_Lean_mkOptionalNode___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
lean_object* l_Lean_expandExplicitBindersAux_loop___closed__2;
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1107____closed__6;
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_983____closed__2;
|
||||
|
|
@ -188,6 +179,7 @@ lean_object* l_Lean_unbracktedExplicitBinders___closed__3;
|
|||
lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1149____closed__2;
|
||||
lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1149____boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_NotationExtra___hyg_901____closed__2;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__6;
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1355____closed__4;
|
||||
lean_object* l_Lean_unbracktedExplicitBinders___closed__2;
|
||||
lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1355____closed__2;
|
||||
|
|
@ -221,7 +213,7 @@ static lean_object* _init_l_Lean_binderIdent___closed__3() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Name_appendIndexAfter___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
x_2 = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -298,8 +290,8 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13;
|
||||
x_2 = l___kind_term____x40_Init_Notation___hyg_6293____closed__7;
|
||||
x_3 = l___kind_term____x40_Init_Notation___hyg_6293____closed__9;
|
||||
x_2 = l_Lean_unbracktedExplicitBinders___closed__3;
|
||||
x_3 = l___kind_term____x40_Init_Notation___hyg_7200____closed__6;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -310,36 +302,10 @@ return x_4;
|
|||
static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_6031____closed__4;
|
||||
x_2 = l_Lean_unbracktedExplicitBinders___closed__4;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13;
|
||||
x_2 = l_Lean_unbracktedExplicitBinders___closed__3;
|
||||
x_3 = l_Lean_unbracktedExplicitBinders___closed__5;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_unbracktedExplicitBinders___closed__1;
|
||||
x_2 = l_Lean_unbracktedExplicitBinders___closed__2;
|
||||
x_3 = l_Lean_unbracktedExplicitBinders___closed__6;
|
||||
x_3 = l_Lean_unbracktedExplicitBinders___closed__4;
|
||||
x_4 = lean_alloc_ctor(9, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -351,7 +317,7 @@ static lean_object* _init_l_Lean_unbracktedExplicitBinders() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_unbracktedExplicitBinders___closed__7;
|
||||
x_1 = l_Lean_unbracktedExplicitBinders___closed__5;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -662,11 +628,9 @@ static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_2 = l_Lean_Name_appendIndexAfter___closed__1;
|
||||
x_3 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
x_1 = l_Array_empty___closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
|
|
@ -674,9 +638,11 @@ static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Array_empty___closed__1;
|
||||
x_1 = l_Lean_nullKind___closed__2;
|
||||
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__1;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
|
|
@ -684,11 +650,9 @@ static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__3() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_mkHole___closed__2;
|
||||
x_1 = l_Array_empty___closed__1;
|
||||
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__2;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
|
|
@ -696,8 +660,8 @@ static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__4() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Array_empty___closed__1;
|
||||
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_6360____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -705,54 +669,22 @@ return x_3;
|
|||
static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_nullKind___closed__2;
|
||||
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("simpleBinder");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Array_empty___closed__1;
|
||||
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_6360____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("simpleBinder");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6;
|
||||
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__10() {
|
||||
static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -760,38 +692,16 @@ x_1 = lean_mk_string("typeSpec");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__11() {
|
||||
static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6;
|
||||
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__10;
|
||||
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_2 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
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_Lean_expandExplicitBindersAux_loop___closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Array_empty___closed__1;
|
||||
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_expandExplicitBindersAux_loop(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -817,7 +727,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean
|
|||
x_16 = l_Array_empty___closed__1;
|
||||
lean_inc(x_1);
|
||||
x_17 = lean_array_push(x_16, x_1);
|
||||
x_18 = l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
x_18 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_19 = lean_array_push(x_18, x_5);
|
||||
x_20 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15;
|
||||
x_21 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -851,9 +761,9 @@ lean_inc(x_33);
|
|||
x_34 = l_Array_empty___closed__1;
|
||||
lean_inc(x_1);
|
||||
x_35 = lean_array_push(x_34, x_1);
|
||||
x_36 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_36 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_37 = lean_array_push(x_36, x_33);
|
||||
x_38 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_38 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_39 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_39, 0, x_38);
|
||||
lean_ctor_set(x_39, 1, x_37);
|
||||
|
|
@ -862,9 +772,9 @@ x_41 = l_Lean_nullKind___closed__2;
|
|||
x_42 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_42, 0, x_41);
|
||||
lean_ctor_set(x_42, 1, x_40);
|
||||
x_43 = l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
x_43 = l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
x_44 = lean_array_push(x_43, x_42);
|
||||
x_45 = l_Lean_expandExplicitBindersAux_loop___closed__9;
|
||||
x_45 = l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
x_46 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_46, 0, x_45);
|
||||
lean_ctor_set(x_46, 1, x_44);
|
||||
|
|
@ -954,9 +864,9 @@ x_91 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_91, 0, x_90);
|
||||
lean_ctor_set(x_91, 1, x_89);
|
||||
x_92 = lean_array_push(x_87, x_91);
|
||||
x_93 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_93 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_94 = lean_array_push(x_93, x_86);
|
||||
x_95 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_95 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_96 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_96, 0, x_95);
|
||||
lean_ctor_set(x_96, 1, x_94);
|
||||
|
|
@ -965,7 +875,7 @@ x_98 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_98, 0, x_90);
|
||||
lean_ctor_set(x_98, 1, x_97);
|
||||
x_99 = lean_array_push(x_92, x_98);
|
||||
x_100 = l_Lean_expandExplicitBindersAux_loop___closed__9;
|
||||
x_100 = l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
x_101 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_101, 0, x_100);
|
||||
lean_ctor_set(x_101, 1, x_99);
|
||||
|
|
@ -2371,10 +2281,6 @@ l_Lean_unbracktedExplicitBinders___closed__4 = _init_l_Lean_unbracktedExplicitBi
|
|||
lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__4);
|
||||
l_Lean_unbracktedExplicitBinders___closed__5 = _init_l_Lean_unbracktedExplicitBinders___closed__5();
|
||||
lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__5);
|
||||
l_Lean_unbracktedExplicitBinders___closed__6 = _init_l_Lean_unbracktedExplicitBinders___closed__6();
|
||||
lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__6);
|
||||
l_Lean_unbracktedExplicitBinders___closed__7 = _init_l_Lean_unbracktedExplicitBinders___closed__7();
|
||||
lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__7);
|
||||
l_Lean_unbracktedExplicitBinders = _init_l_Lean_unbracktedExplicitBinders();
|
||||
lean_mark_persistent(l_Lean_unbracktedExplicitBinders);
|
||||
l_Lean_bracketedExplicitBinders___closed__1 = _init_l_Lean_bracketedExplicitBinders___closed__1();
|
||||
|
|
@ -2425,16 +2331,6 @@ l_Lean_expandExplicitBindersAux_loop___closed__7 = _init_l_Lean_expandExplicitBi
|
|||
lean_mark_persistent(l_Lean_expandExplicitBindersAux_loop___closed__7);
|
||||
l_Lean_expandExplicitBindersAux_loop___closed__8 = _init_l_Lean_expandExplicitBindersAux_loop___closed__8();
|
||||
lean_mark_persistent(l_Lean_expandExplicitBindersAux_loop___closed__8);
|
||||
l_Lean_expandExplicitBindersAux_loop___closed__9 = _init_l_Lean_expandExplicitBindersAux_loop___closed__9();
|
||||
lean_mark_persistent(l_Lean_expandExplicitBindersAux_loop___closed__9);
|
||||
l_Lean_expandExplicitBindersAux_loop___closed__10 = _init_l_Lean_expandExplicitBindersAux_loop___closed__10();
|
||||
lean_mark_persistent(l_Lean_expandExplicitBindersAux_loop___closed__10);
|
||||
l_Lean_expandExplicitBindersAux_loop___closed__11 = _init_l_Lean_expandExplicitBindersAux_loop___closed__11();
|
||||
lean_mark_persistent(l_Lean_expandExplicitBindersAux_loop___closed__11);
|
||||
l_Lean_expandExplicitBindersAux_loop___closed__12 = _init_l_Lean_expandExplicitBindersAux_loop___closed__12();
|
||||
lean_mark_persistent(l_Lean_expandExplicitBindersAux_loop___closed__12);
|
||||
l_Lean_expandExplicitBindersAux_loop___closed__13 = _init_l_Lean_expandExplicitBindersAux_loop___closed__13();
|
||||
lean_mark_persistent(l_Lean_expandExplicitBindersAux_loop___closed__13);
|
||||
l_Lean_expandExplicitBinders___closed__1 = _init_l_Lean_expandExplicitBinders___closed__1();
|
||||
lean_mark_persistent(l_Lean_expandExplicitBinders___closed__1);
|
||||
l___kind_term____x40_Init_NotationExtra___hyg_859____closed__1 = _init_l___kind_term____x40_Init_NotationExtra___hyg_859____closed__1();
|
||||
|
|
|
|||
177
stage0/stdlib/Init/Prelude.c
generated
177
stage0/stdlib/Init/Prelude.c
generated
|
|
@ -14,6 +14,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
lean_object* lean_string_data(lean_object*);
|
||||
lean_object* l_idRhs(lean_object*);
|
||||
lean_object* l_EStateM_run___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Init_Prelude___instance__58___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_String_csize(uint32_t);
|
||||
|
|
@ -22,6 +23,7 @@ lean_object* l_Init_Prelude___instance__57___rarg___lambda__1(lean_object*, lean
|
|||
lean_object* l_Init_Prelude___instance__20___boxed(lean_object*);
|
||||
lean_object* l_getThe(lean_object*, lean_object*);
|
||||
lean_object* l_EStateM_Init_Prelude___instance__63___closed__8;
|
||||
lean_object* l_UInt64_val___boxed(lean_object*);
|
||||
lean_object* l_Lean_extractMacroScopes(lean_object*);
|
||||
lean_object* l_Lean_Macro_Init_Prelude___instance__79___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Macro_Init_Prelude___instance__80;
|
||||
|
|
@ -35,9 +37,12 @@ lean_object* l_UInt32_decLe___boxed(lean_object*, lean_object*);
|
|||
lean_object* l___private_Init_Prelude_0__String_utf8ByteSizeAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_erase_macro_scopes(lean_object*);
|
||||
uint64_t l_Init_Prelude___instance__32;
|
||||
lean_object* l_USize_mk___boxed(lean_object*);
|
||||
lean_object* l_withTheReader(lean_object*, lean_object*);
|
||||
lean_object* l_Nat_sub___boxed(lean_object*, lean_object*);
|
||||
uint64_t lean_uint64_of_nat(lean_object*);
|
||||
lean_object* l_Functor_mapConst___default(lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
lean_object* l_Lean_Init_Prelude___instance__69;
|
||||
lean_object* l_EStateM_Init_Prelude___instance__65___closed__3;
|
||||
lean_object* l_Fin_decLe___boxed(lean_object*);
|
||||
|
|
@ -93,6 +98,7 @@ lean_object* l_ReaderT_Init_Prelude___instance__49___closed__1;
|
|||
lean_object* l_Init_Prelude___instance__6(lean_object*, lean_object*);
|
||||
lean_object* l_UInt64_size___closed__1;
|
||||
uint64_t l_Init_Prelude___instance__32___closed__1;
|
||||
lean_object* l_idRhs___rarg___boxed(lean_object*);
|
||||
lean_object* l_ReaderT_map___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_Init_Prelude___instance__51___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_withRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -125,6 +131,7 @@ lean_object* l_getModify___rarg(lean_object*, lean_object*, lean_object*);
|
|||
lean_object* l_namedPattern(lean_object*, lean_object*);
|
||||
lean_object* l_EStateM_seqRight_match__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Init_Prelude___instance__38___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_idDelta___rarg(lean_object*);
|
||||
lean_object* l_Lean_Syntax_isOfKind___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_EStateM_dummyRestore___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_fieldIdxKind___closed__1;
|
||||
|
|
@ -154,6 +161,7 @@ lean_object* l_EStateM_bind_match__1___rarg(lean_object*, lean_object*, lean_obj
|
|||
lean_object* l_Lean_Name_simpMacroScopes_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Macro_Init_Prelude___instance__79___closed__2;
|
||||
lean_object* l_Nat_decLt___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_USize_val___boxed(lean_object*);
|
||||
lean_object* l_Lean_addMacroScope_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Init_Prelude___instance__72;
|
||||
lean_object* l_Init_Prelude___instance__8(lean_object*);
|
||||
|
|
@ -185,6 +193,7 @@ lean_object* l_Init_Prelude___instance__48(lean_object*, lean_object*, lean_obje
|
|||
uint8_t l_Init_Prelude___instance__25(uint32_t, uint32_t);
|
||||
lean_object* l___private_Init_Prelude_0__String_utf8ByteSizeAux_match__1(lean_object*);
|
||||
lean_object* l_namedPattern___rarg___boxed(lean_object*);
|
||||
lean_object* lean_uint64_to_nat(uint64_t);
|
||||
lean_object* l_Applicative_seqRight___default___rarg___closed__1;
|
||||
lean_object* l_cond_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_readThe___rarg___boxed(lean_object*);
|
||||
|
|
@ -221,6 +230,7 @@ lean_object* l_Lean_Init_Prelude___instance__77(lean_object*, lean_object*);
|
|||
lean_object* l___private_Init_Prelude_0__Lean_extractMainModule(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_System_Platform_getNumBits___boxed(lean_object*);
|
||||
lean_object* l_Array_mkEmpty_match__1(lean_object*);
|
||||
uint32_t lean_uint32_of_nat(lean_object*);
|
||||
lean_object* l_Init_Prelude___instance__9___closed__1;
|
||||
lean_object* l_Lean_extractMacroScopes_match__1(lean_object*);
|
||||
lean_object* l_String_decEq_match__1(lean_object*);
|
||||
|
|
@ -241,6 +251,7 @@ lean_object* l_or_match__1___rarg___boxed(lean_object*, lean_object*, lean_objec
|
|||
lean_object* l_Array_get_x21___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Function_const___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_EStateM_adaptExcept_match__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_idDelta(lean_object*);
|
||||
lean_object* l_cast___rarg___boxed(lean_object*);
|
||||
lean_object* l_Lean_Macro_mkMacroEnv___boxed(lean_object*);
|
||||
lean_object* l_inferInstance___rarg(lean_object*);
|
||||
|
|
@ -307,6 +318,7 @@ lean_object* l_Lean_Macro_mkMacroEnvSimple___closed__1;
|
|||
lean_object* l_Lean_choiceKind___closed__2;
|
||||
lean_object* l_withTheReader___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_Init_Prelude___instance__50___rarg___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_UInt16_val___boxed(lean_object*);
|
||||
lean_object* l_Lean_strLitKind;
|
||||
uint32_t l_Char_utf8Size___closed__5;
|
||||
lean_object* l_Lean_Macro_expandMacro_x3f___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -325,6 +337,7 @@ lean_object* l_EStateM_Init_Prelude___instance__63___closed__3;
|
|||
lean_object* l_Init_Prelude___instance__12___closed__1;
|
||||
lean_object* l_modify(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Init_Prelude___instance__69___closed__1;
|
||||
lean_object* l_UInt8_val___boxed(lean_object*);
|
||||
lean_object* l_Lean_Macro_addMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getHeadInfo(lean_object*);
|
||||
lean_object* l_String_decEq_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -341,6 +354,7 @@ lean_object* l_Lean_numLitKind___closed__1;
|
|||
lean_object* l_List_hasDecEq_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Init_Prelude___instance__46___rarg(lean_object*);
|
||||
lean_object* l_Lean_strLitKind___closed__1;
|
||||
lean_object* l_UInt64_mk___boxed(lean_object*);
|
||||
lean_object* l_inferInstanceAs___rarg___boxed(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArgs___boxed(lean_object*);
|
||||
lean_object* l_Lean_Syntax_setKind(lean_object*, lean_object*);
|
||||
|
|
@ -355,6 +369,7 @@ lean_object* l_String_bsize___boxed(lean_object*);
|
|||
lean_object* l_typedExpr___rarg___boxed(lean_object*);
|
||||
lean_object* l_Init_Prelude___instance__8_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Macro_throwError(lean_object*);
|
||||
uint8_t lean_uint8_of_nat(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getPos___boxed(lean_object*);
|
||||
lean_object* l_Init_Prelude___instance__58(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -441,6 +456,7 @@ lean_object* l_Init_Prelude___instance__1(lean_object*, lean_object*);
|
|||
lean_object* l_or_match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Monad_seqLeft___default___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Init_Prelude___instance__7_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
uint16_t lean_uint16_of_nat(lean_object*);
|
||||
lean_object* l_Init_Prelude___instance__19(lean_object*);
|
||||
lean_object* l___private_Init_Prelude_0__Lean_assembleParts_match__1(lean_object*);
|
||||
lean_object* l_Lean_Syntax_setKind_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -459,6 +475,7 @@ lean_object* l_ReaderT_bind___at_Lean_Macro_Init_Prelude___instance__79___spec__
|
|||
lean_object* l_Nat_add___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_UInt64_ofNatCore___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_nullKind___closed__1;
|
||||
lean_object* l_UInt8_mk___boxed(lean_object*);
|
||||
lean_object* l_Lean_SourceInfo_pos___default;
|
||||
lean_object* l_Init_Prelude___instance__57___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Decidable_decide___rarg(uint8_t);
|
||||
|
|
@ -470,12 +487,14 @@ lean_object* l_List_foldl_match__1___rarg(lean_object*, lean_object*, lean_objec
|
|||
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_String_decEq___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Fin_decLe(lean_object*);
|
||||
lean_object* l_UInt16_mk___boxed(lean_object*);
|
||||
lean_object* l_ReaderT_Init_Prelude___instance__49(lean_object*, lean_object*);
|
||||
lean_object* l_Nat_decEq_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArgs_match__1(lean_object*);
|
||||
lean_object* l_Lean_SourceInfo_leading___default;
|
||||
lean_object* l_UInt16_decEq___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_typedExpr___rarg(lean_object*);
|
||||
lean_object* l_idRhs___rarg(lean_object*);
|
||||
lean_object* l_Init_Prelude___instance__15;
|
||||
lean_object* l_Lean_nullKind___closed__2;
|
||||
lean_object* l_Array_getOp___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -521,6 +540,7 @@ lean_object* l_EStateM_Init_Prelude___instance__64(lean_object*, lean_object*, l
|
|||
lean_object* l_MonadExcept_Init_Prelude___instance__47___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_EStateM_map___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Macro_throwError___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_idDelta___rarg___boxed(lean_object*);
|
||||
lean_object* l_Monad_seqLeft___default___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg_match__1(lean_object*);
|
||||
lean_object* l_Fin_decLt(lean_object*);
|
||||
|
|
@ -620,6 +640,7 @@ lean_object* l_List_foldl___at_Lean_MacroScopesView_review___spec__1(lean_object
|
|||
lean_object* l_ReaderT_pure___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Decidable_decide___rarg___boxed(lean_object*);
|
||||
lean_object* l_USize_size;
|
||||
lean_object* l_UInt32_mk___boxed(lean_object*);
|
||||
lean_object* l_Lean_Name_hasMacroScopes_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_EStateM_orElse(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_cond___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -700,6 +721,7 @@ lean_object* l_Init_Prelude___instance__18_match__1___rarg___boxed(lean_object*,
|
|||
lean_object* lean_simp_macro_scopes(lean_object*);
|
||||
lean_object* l_Init_Prelude___instance__33___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_EStateM_bind(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_UInt32_val___boxed(lean_object*);
|
||||
lean_object* l_dite___rarg(uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Init_Prelude___instance__40___rarg(lean_object*);
|
||||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -710,8 +732,10 @@ lean_object* l_Lean_Init_Prelude___instance__74___closed__1;
|
|||
lean_object* l_Init_Prelude___instance__20(lean_object*);
|
||||
lean_object* l_EStateM_throw(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Prelude_0__Lean_eraseMacroScopesAux_match__1___rarg(uint8_t, lean_object*, lean_object*);
|
||||
lean_object* lean_usize_to_nat(size_t);
|
||||
lean_object* l_ReaderT_Init_Prelude___instance__51___rarg___lambda__7(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_pure(lean_object*, lean_object*);
|
||||
lean_object* lean_uint16_to_nat(uint16_t);
|
||||
lean_object* l_Lean_Syntax_getHeadInfo_loop___boxed(lean_object*, lean_object*);
|
||||
uint16_t lean_uint16_of_nat(lean_object*);
|
||||
lean_object* l_Array_sz___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -751,6 +775,7 @@ lean_object* l_Init_Prelude___instance__18_match__1(lean_object*, lean_object*,
|
|||
lean_object* lean_uint32_to_nat(uint32_t);
|
||||
lean_object* l_EStateM_run_x27_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Macro_Init_Prelude___instance__80___lambda__1(lean_object*, lean_object*);
|
||||
lean_object* lean_uint32_to_nat(uint32_t);
|
||||
lean_object* l_List_hasDecEq_match__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
lean_object* l_Init_Prelude___instance__44___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -787,6 +812,7 @@ lean_object* l_Decidable_decide(lean_object*);
|
|||
lean_object* l_Monad_map___default___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Init_Prelude___instance__9;
|
||||
lean_object* l_List_foldl(lean_object*, lean_object*);
|
||||
lean_object* lean_uint8_to_nat(uint8_t);
|
||||
lean_object* l_Nat_decEq___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_nameLitKind___closed__1;
|
||||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
|
|
@ -824,6 +850,54 @@ lean_dec(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_idDelta___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_inc(x_1);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_idDelta(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_idDelta___rarg___boxed), 1, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_idDelta___rarg___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_idDelta___rarg(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_idRhs___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_inc(x_1);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_idRhs(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_idRhs___rarg___boxed), 1, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_idRhs___rarg___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_idRhs___rarg(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_Function_comp___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -2427,6 +2501,25 @@ x_1 = lean_unsigned_to_nat(256u);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_UInt8_mk___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; lean_object* x_3;
|
||||
x_2 = lean_uint8_of_nat(x_1);
|
||||
x_3 = lean_box(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_UInt8_val___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_uint8_to_nat(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_UInt8_ofNatCore___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -2496,6 +2589,25 @@ x_1 = lean_unsigned_to_nat(65536u);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_UInt16_mk___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint16_t x_2; lean_object* x_3;
|
||||
x_2 = lean_uint16_of_nat(x_1);
|
||||
x_3 = lean_box(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_UInt16_val___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint16_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_uint16_to_nat(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_UInt16_ofNatCore___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -2565,6 +2677,25 @@ x_1 = lean_cstr_to_nat("4294967296");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_UInt32_mk___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint32_t x_2; lean_object* x_3;
|
||||
x_2 = lean_uint32_of_nat(x_1);
|
||||
x_3 = lean_box_uint32(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_UInt32_val___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint32_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox_uint32(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_uint32_to_nat(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_UInt32_ofNatCore___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -2736,6 +2867,25 @@ x_1 = l_UInt64_size___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_UInt64_mk___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint64_t x_2; lean_object* x_3;
|
||||
x_2 = lean_uint64_of_nat(x_1);
|
||||
x_3 = lean_box_uint64(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_UInt64_val___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint64_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox_uint64(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_uint64_to_nat(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_UInt64_ofNatCore___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -2815,6 +2965,25 @@ x_1 = l_USize_size___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_USize_mk___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
size_t x_2; lean_object* x_3;
|
||||
x_2 = lean_usize_of_nat(x_1);
|
||||
x_3 = lean_box_usize(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_USize_val___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
size_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox_usize(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_usize_to_nat(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_USize_ofNatCore___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -2898,11 +3067,11 @@ return x_4;
|
|||
static lean_object* _init_l_Char_ofNat___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
lean_object* x_1; uint32_t x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(0u);
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
x_2 = lean_uint32_of_nat(x_1);
|
||||
x_3 = lean_box_uint32(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Char_ofNat(lean_object* x_1) {
|
||||
|
|
|
|||
81
stage0/stdlib/Init/Tactics.c
generated
81
stage0/stdlib/Init/Tactics.c
generated
|
|
@ -42,14 +42,11 @@ lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__4;
|
|||
lean_object* l_myMacro____x40_Init_Tactics___hyg_726____closed__7;
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__1;
|
||||
lean_object* l___kind_tactic____x40_Init_Tactics___hyg_1261____closed__6;
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__9;
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__8;
|
||||
lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__18;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__8;
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__7;
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_1305____closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__10;
|
||||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
|
|
@ -77,7 +74,6 @@ lean_object* l_myMacro____x40_Init_Tactics___hyg_1305_(lean_object*, lean_object
|
|||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__12;
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_726____closed__12;
|
||||
extern lean_object* l_Lean_Name_appendIndexAfter___closed__1;
|
||||
lean_object* l___kind_tactic____x40_Init_Tactics___hyg_693____closed__7;
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_186____closed__5;
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_1305____closed__8;
|
||||
|
|
@ -91,7 +87,6 @@ lean_object* l___kind_tactic____x40_Init_Tactics___hyg_157____closed__2;
|
|||
lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__1;
|
||||
extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__13;
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_1305____closed__6;
|
||||
extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__8;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__18;
|
||||
lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__4;
|
||||
|
|
@ -108,11 +103,11 @@ lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__8;
|
|||
lean_object* l_myMacro____x40_Init_Tactics___hyg_726____closed__4;
|
||||
lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__8;
|
||||
lean_object* l___kind_tactic____x40_Init_Tactics___hyg_1261____closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__10;
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_726____closed__1;
|
||||
lean_object* l___kind_tactic____x40_Init_Tactics___hyg_1052____closed__1;
|
||||
lean_object* l___kind_tactic____x40_Init_Tactics___hyg_1261____closed__9;
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__4;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_1305____closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_726____closed__8;
|
||||
lean_object* l___kind_tactic____x40_Init_Tactics___hyg_1261____closed__2;
|
||||
|
|
@ -175,7 +170,6 @@ lean_object* l___kind_tactic____x40_Init_Tactics___hyg_693____closed__4;
|
|||
extern lean_object* l___kind_term____x40_Init_Coe___hyg_141____closed__7;
|
||||
lean_object* l___kind_tactic____x40_Init_Tactics___hyg_309____closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_726____closed__6;
|
||||
extern lean_object* l_Lean_mkHole___closed__2;
|
||||
lean_object* l___kind_tactic____x40_Init_Tactics___hyg_693____closed__1;
|
||||
lean_object* l___kind_tactic____x40_Init_Tactics___hyg_693____closed__2;
|
||||
lean_object* l___kind_tactic____x40_Init_Tactics___hyg_693____closed__8;
|
||||
|
|
@ -183,6 +177,7 @@ extern lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__9;
|
|||
lean_object* l_myMacro____x40_Init_Tactics___hyg_1305____closed__16;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__4;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
lean_object* l___kind_tactic____x40_Init_Tactics___hyg_1261____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Tactics___hyg_186____closed__11;
|
||||
lean_object* l___kind_tactic____x40_Init_Tactics___hyg_1052____closed__3;
|
||||
|
|
@ -1126,68 +1121,22 @@ return x_3;
|
|||
static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_2 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
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;
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("haveAssign");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_2 = l_Lean_Name_appendIndexAfter___closed__1;
|
||||
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_myMacro____x40_Init_Tactics___hyg_508____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Array_empty___closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Tactics___hyg_508____closed__5;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_mkHole___closed__2;
|
||||
x_2 = l_myMacro____x40_Init_Tactics___hyg_508____closed__6;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("haveAssign");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6;
|
||||
x_2 = l_myMacro____x40_Init_Tactics___hyg_508____closed__8;
|
||||
x_2 = l_myMacro____x40_Init_Tactics___hyg_508____closed__4;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__10() {
|
||||
static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -1243,7 +1192,7 @@ x_17 = l_Lean_Syntax_getArg(x_1, x_16);
|
|||
lean_dec(x_1);
|
||||
x_18 = l_Array_empty___closed__1;
|
||||
x_19 = lean_array_push(x_18, x_15);
|
||||
x_20 = l_myMacro____x40_Init_Tactics___hyg_508____closed__4;
|
||||
x_20 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_21 = lean_array_push(x_19, x_20);
|
||||
x_22 = l_Lean_nullKind___closed__2;
|
||||
x_23 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -1251,11 +1200,11 @@ lean_ctor_set(x_23, 0, x_22);
|
|||
lean_ctor_set(x_23, 1, x_21);
|
||||
x_24 = l_myMacro____x40_Init_Tactics___hyg_508____closed__3;
|
||||
x_25 = lean_array_push(x_24, x_23);
|
||||
x_26 = l_myMacro____x40_Init_Tactics___hyg_508____closed__7;
|
||||
x_26 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
x_27 = lean_array_push(x_25, x_26);
|
||||
x_28 = l_myMacro____x40_Init_Tactics___hyg_508____closed__10;
|
||||
x_28 = l_myMacro____x40_Init_Tactics___hyg_508____closed__6;
|
||||
x_29 = lean_array_push(x_28, x_17);
|
||||
x_30 = l_myMacro____x40_Init_Tactics___hyg_508____closed__9;
|
||||
x_30 = l_myMacro____x40_Init_Tactics___hyg_508____closed__5;
|
||||
x_31 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_30);
|
||||
lean_ctor_set(x_31, 1, x_29);
|
||||
|
|
@ -2476,14 +2425,6 @@ l_myMacro____x40_Init_Tactics___hyg_508____closed__5 = _init_l_myMacro____x40_In
|
|||
lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_508____closed__5);
|
||||
l_myMacro____x40_Init_Tactics___hyg_508____closed__6 = _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__6();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_508____closed__6);
|
||||
l_myMacro____x40_Init_Tactics___hyg_508____closed__7 = _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__7();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_508____closed__7);
|
||||
l_myMacro____x40_Init_Tactics___hyg_508____closed__8 = _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__8();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_508____closed__8);
|
||||
l_myMacro____x40_Init_Tactics___hyg_508____closed__9 = _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__9();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_508____closed__9);
|
||||
l_myMacro____x40_Init_Tactics___hyg_508____closed__10 = _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__10();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_508____closed__10);
|
||||
l___kind_tactic____x40_Init_Tactics___hyg_693____closed__1 = _init_l___kind_tactic____x40_Init_Tactics___hyg_693____closed__1();
|
||||
lean_mark_persistent(l___kind_tactic____x40_Init_Tactics___hyg_693____closed__1);
|
||||
l___kind_tactic____x40_Init_Tactics___hyg_693____closed__2 = _init_l___kind_tactic____x40_Init_Tactics___hyg_693____closed__2();
|
||||
|
|
|
|||
20
stage0/stdlib/Init/Util.c
generated
20
stage0/stdlib/Init/Util.c
generated
|
|
@ -31,7 +31,6 @@ lean_object* l_withPtrEqDecEq_match__1___rarg___boxed(lean_object*, lean_object*
|
|||
lean_object* l_withPtrEqDecEq_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_withPtrEqDecEq(lean_object*);
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessage___closed__3;
|
||||
extern lean_object* l_Init_Data_Repr___instance__18___closed__2;
|
||||
lean_object* l_dbgTraceVal___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessage(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -56,6 +55,7 @@ lean_object* l_panicWithPos(lean_object*);
|
|||
lean_object* l_panicWithPosWithDecl(lean_object*);
|
||||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
lean_object* l_panicWithPosWithDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
lean_object* l_withPtrAddr___rarg___boxed__const__1;
|
||||
lean_object* l_withPtrAddr___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_dbgSleep___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -120,14 +120,6 @@ static lean_object* _init_l___private_Init_Util_0__mkPanicMessage___closed__2()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string(":");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Init_Util_0__mkPanicMessage___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string(": ");
|
||||
return x_1;
|
||||
}
|
||||
|
|
@ -138,7 +130,7 @@ _start:
|
|||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_5 = l___private_Init_Util_0__mkPanicMessage___closed__1;
|
||||
x_6 = lean_string_append(x_5, x_1);
|
||||
x_7 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_7 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
x_8 = lean_string_append(x_6, x_7);
|
||||
x_9 = l_Nat_repr(x_2);
|
||||
x_10 = lean_string_append(x_8, x_9);
|
||||
|
|
@ -147,7 +139,7 @@ x_11 = lean_string_append(x_10, x_7);
|
|||
x_12 = l_Nat_repr(x_3);
|
||||
x_13 = lean_string_append(x_11, x_12);
|
||||
lean_dec(x_12);
|
||||
x_14 = l___private_Init_Util_0__mkPanicMessage___closed__3;
|
||||
x_14 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_15 = lean_string_append(x_13, x_14);
|
||||
x_16 = lean_string_append(x_15, x_4);
|
||||
return x_16;
|
||||
|
|
@ -199,7 +191,7 @@ x_7 = lean_string_append(x_6, x_2);
|
|||
x_8 = l_Init_Data_Repr___instance__18___closed__2;
|
||||
x_9 = lean_string_append(x_7, x_8);
|
||||
x_10 = lean_string_append(x_9, x_1);
|
||||
x_11 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_11 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
x_12 = lean_string_append(x_10, x_11);
|
||||
x_13 = l_Nat_repr(x_3);
|
||||
x_14 = lean_string_append(x_12, x_13);
|
||||
|
|
@ -208,7 +200,7 @@ x_15 = lean_string_append(x_14, x_11);
|
|||
x_16 = l_Nat_repr(x_4);
|
||||
x_17 = lean_string_append(x_15, x_16);
|
||||
lean_dec(x_16);
|
||||
x_18 = l___private_Init_Util_0__mkPanicMessage___closed__3;
|
||||
x_18 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_19 = lean_string_append(x_17, x_18);
|
||||
x_20 = lean_string_append(x_19, x_5);
|
||||
return x_20;
|
||||
|
|
@ -500,8 +492,6 @@ l___private_Init_Util_0__mkPanicMessage___closed__1 = _init_l___private_Init_Uti
|
|||
lean_mark_persistent(l___private_Init_Util_0__mkPanicMessage___closed__1);
|
||||
l___private_Init_Util_0__mkPanicMessage___closed__2 = _init_l___private_Init_Util_0__mkPanicMessage___closed__2();
|
||||
lean_mark_persistent(l___private_Init_Util_0__mkPanicMessage___closed__2);
|
||||
l___private_Init_Util_0__mkPanicMessage___closed__3 = _init_l___private_Init_Util_0__mkPanicMessage___closed__3();
|
||||
lean_mark_persistent(l___private_Init_Util_0__mkPanicMessage___closed__3);
|
||||
l_withPtrAddr___rarg___boxed__const__1 = _init_l_withPtrAddr___rarg___boxed__const__1();
|
||||
lean_mark_persistent(l_withPtrAddr___rarg___boxed__const__1);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
46
stage0/stdlib/Lean/Compiler/IR/EmitC.c
generated
46
stage0/stdlib/Lean/Compiler/IR/EmitC.c
generated
|
|
@ -142,6 +142,7 @@ lean_object* l_Lean_IR_EmitC_Context_mainFn___default;
|
|||
lean_object* l_Lean_IR_EmitC_emitUnbox___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_EmitC_emitReset___closed__4;
|
||||
lean_object* l_Lean_IR_EmitC_emitFileHeader___closed__19;
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
lean_object* l_Lean_IR_EmitC_emitSProj___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_EmitC_emitLn___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
|
|
@ -295,7 +296,6 @@ lean_object* l_Lean_IR_EmitC_emitArgs(lean_object*, lean_object*, lean_object*);
|
|||
lean_object* l_Lean_IR_EmitC_declareVars_match__1(lean_object*);
|
||||
extern lean_object* l_Lean_IR_formatDecl___closed__3;
|
||||
lean_object* l_Lean_IR_EmitC_argToCString_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
lean_object* l_Lean_IR_EmitC_emitPartialApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_EmitC_emitBox___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_forM___at_Lean_IR_EmitC_emitLns___spec__1(lean_object*);
|
||||
|
|
@ -503,6 +503,7 @@ lean_object* l_Lean_IR_EmitC_emitTag(lean_object*, lean_object*, lean_object*, l
|
|||
lean_object* l_Lean_IR_EmitC_emitDecl(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_EmitC_throwUnknownVar(lean_object*);
|
||||
lean_object* l_Lean_IR_EmitC_isIf(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
lean_object* l_Lean_IR_EmitC_emitTailCall___closed__2;
|
||||
lean_object* l_Lean_IR_EmitC_emitBlock(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_EmitC_emitSSet___closed__3;
|
||||
|
|
@ -575,7 +576,6 @@ lean_object* l_Lean_IR_EmitC_emitSSet(lean_object*, lean_object*, lean_object*,
|
|||
lean_object* lean_nat_mod(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_EmitC_emitFileFooter(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_EmitC_declareVars_match__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
lean_object* l_Lean_IR_EmitC_toCType___closed__10;
|
||||
lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__2___closed__22;
|
||||
lean_object* l_Lean_IR_EmitC_getJPParams___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -3168,7 +3168,7 @@ lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__1(lean_object* x_1, lean_objec
|
|||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26;
|
||||
x_5 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_5 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_6 = lean_string_append(x_4, x_5);
|
||||
x_7 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1;
|
||||
x_8 = lean_string_append(x_6, x_7);
|
||||
|
|
@ -3351,7 +3351,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
|
|
@ -4511,7 +4511,7 @@ static lean_object* _init_l_Lean_IR_EmitC_emitFileFooter___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_2 = l_Lean_IR_EmitC_emitFileHeader___closed__3;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -7016,7 +7016,7 @@ lean_dec(x_39);
|
|||
x_40 = l_Lean_IR_EmitC_emitReset___closed__4;
|
||||
x_41 = lean_string_append(x_38, x_40);
|
||||
x_42 = lean_string_append(x_41, x_14);
|
||||
x_43 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_43 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_44 = lean_string_append(x_42, x_43);
|
||||
x_45 = lean_string_append(x_44, x_14);
|
||||
x_46 = lean_box(0);
|
||||
|
|
@ -7033,7 +7033,7 @@ lean_dec(x_36);
|
|||
x_48 = l_Lean_IR_EmitC_emitReset___closed__4;
|
||||
x_49 = lean_string_append(x_47, x_48);
|
||||
x_50 = lean_string_append(x_49, x_14);
|
||||
x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_52 = lean_string_append(x_50, x_51);
|
||||
x_53 = lean_string_append(x_52, x_14);
|
||||
x_54 = lean_box(0);
|
||||
|
|
@ -7068,7 +7068,7 @@ lean_object* l_Lean_IR_EmitC_emitReuse___lambda__1(lean_object* x_1, lean_object
|
|||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_6 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_6 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_7 = lean_string_append(x_5, x_6);
|
||||
x_8 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1;
|
||||
x_9 = lean_string_append(x_7, x_8);
|
||||
|
|
@ -10857,7 +10857,7 @@ lean_dec(x_17);
|
|||
x_21 = lean_ctor_get(x_20, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_20);
|
||||
x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_23 = lean_string_append(x_21, x_22);
|
||||
x_24 = lean_string_append(x_23, x_15);
|
||||
x_25 = lean_box(0);
|
||||
|
|
@ -11590,7 +11590,7 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_
|
|||
x_9 = lean_ctor_get(x_7, 1);
|
||||
x_10 = lean_ctor_get(x_7, 0);
|
||||
lean_dec(x_10);
|
||||
x_11 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_11 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_12 = lean_string_append(x_9, x_11);
|
||||
x_13 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1;
|
||||
x_14 = lean_string_append(x_12, x_13);
|
||||
|
|
@ -11605,7 +11605,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean
|
|||
x_16 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_7);
|
||||
x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_18 = lean_string_append(x_16, x_17);
|
||||
x_19 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1;
|
||||
x_20 = lean_string_append(x_18, x_19);
|
||||
|
|
@ -11724,7 +11724,7 @@ x_9 = lean_string_append(x_8, x_7);
|
|||
lean_dec(x_7);
|
||||
x_10 = lean_string_append(x_3, x_9);
|
||||
lean_dec(x_9);
|
||||
x_11 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_11 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
x_12 = lean_string_append(x_10, x_11);
|
||||
x_13 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1;
|
||||
x_14 = lean_string_append(x_12, x_13);
|
||||
|
|
@ -12277,7 +12277,7 @@ lean_dec(x_9);
|
|||
x_14 = l_Nat_repr(x_13);
|
||||
x_15 = lean_string_append(x_12, x_14);
|
||||
lean_dec(x_14);
|
||||
x_16 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_16 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
x_17 = lean_string_append(x_15, x_16);
|
||||
x_18 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1;
|
||||
x_19 = lean_string_append(x_17, x_18);
|
||||
|
|
@ -12433,7 +12433,7 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
|||
lean_dec(x_18);
|
||||
lean_dec(x_17);
|
||||
lean_dec(x_4);
|
||||
x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_22 = lean_string_append(x_16, x_21);
|
||||
x_23 = lean_string_append(x_22, x_15);
|
||||
x_24 = lean_box(0);
|
||||
|
|
@ -12451,7 +12451,7 @@ lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29;
|
|||
lean_dec(x_18);
|
||||
lean_dec(x_17);
|
||||
lean_dec(x_4);
|
||||
x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_27 = lean_string_append(x_16, x_26);
|
||||
x_28 = lean_string_append(x_27, x_15);
|
||||
x_29 = lean_box(0);
|
||||
|
|
@ -12479,7 +12479,7 @@ lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean
|
|||
x_35 = lean_ctor_get(x_33, 1);
|
||||
x_36 = lean_ctor_get(x_33, 0);
|
||||
lean_dec(x_36);
|
||||
x_37 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_37 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_38 = lean_string_append(x_35, x_37);
|
||||
x_39 = lean_string_append(x_38, x_15);
|
||||
lean_ctor_set(x_33, 1, x_39);
|
||||
|
|
@ -12492,7 +12492,7 @@ lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean
|
|||
x_40 = lean_ctor_get(x_33, 1);
|
||||
lean_inc(x_40);
|
||||
lean_dec(x_33);
|
||||
x_41 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_41 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_42 = lean_string_append(x_40, x_41);
|
||||
x_43 = lean_string_append(x_42, x_15);
|
||||
x_44 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -12546,7 +12546,7 @@ lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean
|
|||
lean_dec(x_55);
|
||||
lean_dec(x_54);
|
||||
lean_dec(x_4);
|
||||
x_58 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_58 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_59 = lean_string_append(x_53, x_58);
|
||||
x_60 = lean_string_append(x_59, x_52);
|
||||
x_61 = lean_box(0);
|
||||
|
|
@ -12565,7 +12565,7 @@ lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean
|
|||
lean_dec(x_55);
|
||||
lean_dec(x_54);
|
||||
lean_dec(x_4);
|
||||
x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_65 = lean_string_append(x_53, x_64);
|
||||
x_66 = lean_string_append(x_65, x_52);
|
||||
x_67 = lean_box(0);
|
||||
|
|
@ -12596,7 +12596,7 @@ if (lean_is_exclusive(x_72)) {
|
|||
lean_dec_ref(x_72);
|
||||
x_74 = lean_box(0);
|
||||
}
|
||||
x_75 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_75 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_76 = lean_string_append(x_73, x_75);
|
||||
x_77 = lean_string_append(x_76, x_52);
|
||||
if (lean_is_scalar(x_74)) {
|
||||
|
|
@ -13022,7 +13022,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean
|
|||
x_16 = lean_ctor_get(x_14, 1);
|
||||
x_17 = lean_ctor_get(x_14, 0);
|
||||
lean_dec(x_17);
|
||||
x_18 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_18 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_19 = lean_string_append(x_16, x_18);
|
||||
x_20 = lean_string_append(x_19, x_9);
|
||||
x_21 = lean_box(0);
|
||||
|
|
@ -13036,7 +13036,7 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean
|
|||
x_22 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_14);
|
||||
x_23 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_23 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_24 = lean_string_append(x_22, x_23);
|
||||
x_25 = lean_string_append(x_24, x_9);
|
||||
x_26 = lean_box(0);
|
||||
|
|
@ -13099,7 +13099,7 @@ if (lean_is_exclusive(x_36)) {
|
|||
lean_dec_ref(x_36);
|
||||
x_38 = lean_box(0);
|
||||
}
|
||||
x_39 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_39 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_40 = lean_string_append(x_37, x_39);
|
||||
x_41 = lean_string_append(x_40, x_9);
|
||||
x_42 = lean_box(0);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Compiler/IR/Format.c
generated
4
stage0/stdlib/Lean/Compiler/IR/Format.c
generated
|
|
@ -52,6 +52,7 @@ extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____c
|
|||
lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__5;
|
||||
lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__28;
|
||||
lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__14;
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
lean_object* l_Lean_IR_formatAlt___closed__4;
|
||||
lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22;
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
|
|
@ -211,7 +212,6 @@ lean_object* l_Lean_IR_formatFnBodyHead_match__1(lean_object*);
|
|||
lean_object* l_Lean_IR_formatFnBodyHead___closed__12;
|
||||
extern lean_object* l_Lean_Format_paren___closed__3;
|
||||
lean_object* l_Lean_IR_Lean_Compiler_IR_Format___instance__5(lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__32;
|
||||
lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__10;
|
||||
lean_object* l_Lean_IR_formatFnBodyHead___closed__4;
|
||||
|
|
@ -2313,7 +2313,7 @@ static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatI
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Compiler/NameMangling.c
generated
6
stage0/stdlib/Lean/Compiler/NameMangling.c
generated
|
|
@ -18,11 +18,11 @@ lean_object* lean_nat_div(lean_object*, lean_object*);
|
|||
lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Char_isDigit(uint32_t);
|
||||
lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux_match__1(lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Name_appendIndexAfter___closed__1;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_Nat_repr(lean_object*);
|
||||
lean_object* l_Lean_mkModuleInitializationFunctionName___closed__1;
|
||||
|
|
@ -363,7 +363,7 @@ else
|
|||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_6 = l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux(x_3);
|
||||
x_7 = l_Lean_Name_appendIndexAfter___closed__1;
|
||||
x_7 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
x_8 = lean_string_append(x_6, x_7);
|
||||
x_9 = lean_string_append(x_8, x_5);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -379,7 +379,7 @@ x_11 = lean_ctor_get(x_1, 1);
|
|||
lean_inc(x_11);
|
||||
lean_dec(x_1);
|
||||
x_12 = l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux(x_10);
|
||||
x_13 = l_Lean_Name_appendIndexAfter___closed__1;
|
||||
x_13 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
x_14 = lean_string_append(x_12, x_13);
|
||||
x_15 = l_Nat_repr(x_11);
|
||||
x_16 = lean_string_append(x_14, x_15);
|
||||
|
|
|
|||
447
stage0/stdlib/Lean/Data/FormatMacro.c
generated
447
stage0/stdlib/Lean/Data/FormatMacro.c
generated
|
|
@ -16,67 +16,52 @@ extern "C" {
|
|||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__12;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__14;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__5;
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__8;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__4;
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStrChunks(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__8;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__13;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__12;
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__3;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__6;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__1;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__3;
|
||||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__7;
|
||||
extern lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__11;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3_;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__10;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__7;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__3;
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__3;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__5;
|
||||
extern lean_object* l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__5;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__10;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__6;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__7;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__11;
|
||||
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_nullKind___closed__2;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__4;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__2;
|
||||
lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__2;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__13;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Name_hasMacroScopes___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__1;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__2;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__9;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__3;
|
||||
lean_object* lean_name_mk_numeral(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__1;
|
||||
extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3372____closed__1;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__12;
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__1;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__8;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__4;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__1;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__11;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__9;
|
||||
extern lean_object* l___private_Init_Prelude_0__Lean_eraseMacroScopesAux___closed__1;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__13;
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -219,159 +204,30 @@ x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__13;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_5 = l_Array_empty___closed__1;
|
||||
x_6 = lean_array_push(x_5, x_1);
|
||||
x_7 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2;
|
||||
x_8 = lean_array_push(x_6, x_7);
|
||||
x_9 = lean_array_push(x_8, x_2);
|
||||
x_10 = l___kind_term____x40_Init_Notation___hyg_4161____closed__1;
|
||||
x_11 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_11, 0, x_10);
|
||||
lean_ctor_set(x_11, 1, x_9);
|
||||
x_12 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_12, 0, x_11);
|
||||
lean_ctor_set(x_12, 1, x_4);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("fmt");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__1;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__2;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
x_5 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_3);
|
||||
x_7 = l_myMacro____x40_Init_Notation___hyg_38____closed__3;
|
||||
lean_inc(x_1);
|
||||
x_8 = lean_name_mk_string(x_1, x_7);
|
||||
x_9 = l_myMacro____x40_Init_Notation___hyg_38____closed__5;
|
||||
x_10 = lean_name_mk_string(x_8, x_9);
|
||||
x_11 = l_myMacro____x40_Init_Notation___hyg_38____closed__7;
|
||||
x_12 = lean_name_mk_string(x_10, x_11);
|
||||
x_13 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__4;
|
||||
x_14 = l_Lean_addMacroScope(x_6, x_13, x_5);
|
||||
x_15 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__1;
|
||||
x_16 = lean_name_mk_string(x_1, x_15);
|
||||
x_17 = lean_box(0);
|
||||
x_18 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_16);
|
||||
lean_ctor_set(x_18, 1, x_17);
|
||||
x_19 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
lean_ctor_set(x_19, 1, x_17);
|
||||
x_20 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_21 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__3;
|
||||
x_22 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_22, 0, x_20);
|
||||
lean_ctor_set(x_22, 1, x_21);
|
||||
lean_ctor_set(x_22, 2, x_14);
|
||||
lean_ctor_set(x_22, 3, x_19);
|
||||
x_23 = l_Array_empty___closed__1;
|
||||
x_24 = lean_array_push(x_23, x_22);
|
||||
x_25 = lean_array_push(x_23, x_2);
|
||||
x_26 = l_Lean_nullKind___closed__2;
|
||||
x_27 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_27, 0, x_26);
|
||||
lean_ctor_set(x_27, 1, x_25);
|
||||
x_28 = lean_array_push(x_24, x_27);
|
||||
x_29 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_12);
|
||||
lean_ctor_set(x_29, 1, x_28);
|
||||
x_30 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_30, 0, x_29);
|
||||
lean_ctor_set(x_30, 1, x_4);
|
||||
return x_30;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2), 4, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__1___boxed), 4, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("Format");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__4() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__3;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__5() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__3;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__4;
|
||||
x_3 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__2;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -379,13 +235,35 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__2;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__5;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
|
|
@ -393,30 +271,83 @@ static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__2;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__6;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("fmt");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__8;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__8;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__9;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__7;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__8;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__2;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__8;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__12;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__9() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__8;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__13;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
|
|
@ -463,156 +394,40 @@ return x_13;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29;
|
||||
x_14 = lean_unsigned_to_nat(1u);
|
||||
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
|
||||
lean_dec(x_1);
|
||||
x_16 = l_Lean_Syntax_getArgs(x_15);
|
||||
x_16 = lean_ctor_get(x_2, 2);
|
||||
lean_inc(x_16);
|
||||
x_17 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_17);
|
||||
x_18 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__4;
|
||||
lean_inc(x_16);
|
||||
lean_inc(x_17);
|
||||
x_19 = l_Lean_addMacroScope(x_17, x_18, x_16);
|
||||
x_20 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_21 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__3;
|
||||
x_22 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__7;
|
||||
x_23 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_23, 0, x_20);
|
||||
lean_ctor_set(x_23, 1, x_21);
|
||||
lean_ctor_set(x_23, 2, x_19);
|
||||
lean_ctor_set(x_23, 3, x_22);
|
||||
x_24 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__11;
|
||||
x_25 = l_Lean_addMacroScope(x_17, x_24, x_16);
|
||||
x_26 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__10;
|
||||
x_27 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__14;
|
||||
x_28 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_28, 0, x_20);
|
||||
lean_ctor_set(x_28, 1, x_26);
|
||||
lean_ctor_set(x_28, 2, x_25);
|
||||
lean_ctor_set(x_28, 3, x_27);
|
||||
x_29 = l_Lean_Syntax_expandInterpolatedStr(x_15, x_23, x_28, x_2, x_3);
|
||||
lean_dec(x_15);
|
||||
x_17 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__2;
|
||||
x_18 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1;
|
||||
lean_inc(x_2);
|
||||
x_19 = l_Lean_Syntax_expandInterpolatedStrChunks(x_16, x_17, x_18, x_2, x_3);
|
||||
lean_dec(x_16);
|
||||
if (lean_obj_tag(x_19) == 0)
|
||||
{
|
||||
uint8_t x_20;
|
||||
x_20 = !lean_is_exclusive(x_19);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46;
|
||||
x_21 = lean_ctor_get(x_19, 0);
|
||||
x_22 = lean_ctor_get(x_2, 2);
|
||||
lean_inc(x_22);
|
||||
x_23 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_2);
|
||||
x_24 = l_Array_empty___closed__1;
|
||||
x_25 = lean_array_push(x_24, x_21);
|
||||
x_26 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__6;
|
||||
x_27 = l_Lean_addMacroScope(x_23, x_26, x_22);
|
||||
x_28 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_29 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__5;
|
||||
x_30 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__9;
|
||||
x_31 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_31, 0, x_28);
|
||||
lean_ctor_set(x_31, 1, x_29);
|
||||
lean_ctor_set(x_31, 2, x_27);
|
||||
lean_ctor_set(x_31, 3, x_30);
|
||||
x_32 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_33 = lean_array_push(x_32, x_31);
|
||||
x_34 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_35 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_35, 0, x_34);
|
||||
lean_ctor_set(x_35, 1, x_33);
|
||||
x_36 = lean_array_push(x_24, x_35);
|
||||
x_37 = l_Lean_nullKind___closed__2;
|
||||
x_38 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_38, 0, x_37);
|
||||
lean_ctor_set(x_38, 1, x_36);
|
||||
x_39 = lean_array_push(x_25, x_38);
|
||||
x_40 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_37);
|
||||
lean_ctor_set(x_40, 1, x_39);
|
||||
x_41 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
x_42 = lean_array_push(x_41, x_40);
|
||||
x_43 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12;
|
||||
x_44 = lean_array_push(x_42, x_43);
|
||||
x_45 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8;
|
||||
x_46 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_46, 0, x_45);
|
||||
lean_ctor_set(x_46, 1, x_44);
|
||||
lean_ctor_set(x_19, 0, x_46);
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74;
|
||||
x_47 = lean_ctor_get(x_19, 0);
|
||||
x_48 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_48);
|
||||
lean_inc(x_47);
|
||||
lean_dec(x_19);
|
||||
x_49 = lean_ctor_get(x_2, 2);
|
||||
lean_inc(x_49);
|
||||
x_50 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_50);
|
||||
lean_dec(x_2);
|
||||
x_51 = l_Array_empty___closed__1;
|
||||
x_52 = lean_array_push(x_51, x_47);
|
||||
x_53 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__6;
|
||||
x_54 = l_Lean_addMacroScope(x_50, x_53, x_49);
|
||||
x_55 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_56 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__5;
|
||||
x_57 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__9;
|
||||
x_58 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_58, 0, x_55);
|
||||
lean_ctor_set(x_58, 1, x_56);
|
||||
lean_ctor_set(x_58, 2, x_54);
|
||||
lean_ctor_set(x_58, 3, x_57);
|
||||
x_59 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_60 = lean_array_push(x_59, x_58);
|
||||
x_61 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_62 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_62, 0, x_61);
|
||||
lean_ctor_set(x_62, 1, x_60);
|
||||
x_63 = lean_array_push(x_51, x_62);
|
||||
x_64 = l_Lean_nullKind___closed__2;
|
||||
x_65 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_65, 0, x_64);
|
||||
lean_ctor_set(x_65, 1, x_63);
|
||||
x_66 = lean_array_push(x_52, x_65);
|
||||
x_67 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_67, 0, x_64);
|
||||
lean_ctor_set(x_67, 1, x_66);
|
||||
x_68 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
x_69 = lean_array_push(x_68, x_67);
|
||||
x_70 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12;
|
||||
x_71 = lean_array_push(x_69, x_70);
|
||||
x_72 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8;
|
||||
x_73 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_73, 0, x_72);
|
||||
lean_ctor_set(x_73, 1, x_71);
|
||||
x_74 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_74, 0, x_73);
|
||||
lean_ctor_set(x_74, 1, x_48);
|
||||
return x_74;
|
||||
return x_29;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_75;
|
||||
lean_dec(x_2);
|
||||
x_75 = !lean_is_exclusive(x_19);
|
||||
if (x_75 == 0)
|
||||
{
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_76; lean_object* x_77; lean_object* x_78;
|
||||
x_76 = lean_ctor_get(x_19, 0);
|
||||
x_77 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_77);
|
||||
lean_inc(x_76);
|
||||
lean_dec(x_19);
|
||||
x_78 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_78, 0, x_76);
|
||||
lean_ctor_set(x_78, 1, x_77);
|
||||
return x_78;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__1(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init(lean_object*);
|
||||
|
|
@ -656,14 +471,6 @@ l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__13 = _init_l_
|
|||
lean_mark_persistent(l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__13);
|
||||
l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3_ = _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3_();
|
||||
lean_mark_persistent(l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3_);
|
||||
l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__1 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__1();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__1);
|
||||
l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__2 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__2();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__2);
|
||||
l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__3 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__3();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__3);
|
||||
l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__4 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__4();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__4);
|
||||
l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1);
|
||||
l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__2 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__2();
|
||||
|
|
@ -682,6 +489,16 @@ l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__8 = _init_l_Lean
|
|||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__8);
|
||||
l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__9 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__9();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__9);
|
||||
l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__10 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__10();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__10);
|
||||
l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__11 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__11();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__11);
|
||||
l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__12 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__12();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__12);
|
||||
l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__13 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__13();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__13);
|
||||
l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__14 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__14();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__14);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Data/Json/Parser.c
generated
6
stage0/stdlib/Lean/Data/Json/Parser.c
generated
|
|
@ -47,7 +47,6 @@ lean_object* l_Lean_Json_Parser_anyCore___rarg___closed__5;
|
|||
lean_object* l_Lean_Quickparse_pure(lean_object*);
|
||||
lean_object* l_Lean_Json_Parser_anyCore___rarg___closed__3;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__3;
|
||||
lean_object* l_Lean_Json_Parser_anyCore(lean_object*);
|
||||
lean_object* l_Lean_Json_Parser_escapedChar___boxed__const__6;
|
||||
lean_object* l_Lean_Json_Parser_escapedChar___boxed__const__2;
|
||||
|
|
@ -130,6 +129,7 @@ lean_object* lean_nat_mul(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Lean_Data_Json_Parser___instance__1(lean_object*);
|
||||
lean_object* l_Lean_Json_Parser_escapedChar___boxed__const__8;
|
||||
lean_object* l_UInt32_decEq___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
extern lean_object* l_USize_size;
|
||||
lean_object* l_Lean_Quickparse_Lean_Data_Json_Parser___instance__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Quickparse_bind(lean_object*, lean_object*);
|
||||
|
|
@ -3898,7 +3898,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Json_Parser_lookahead___rarg___closed__1;
|
||||
x_2 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
x_3 = lean_string_append(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -5369,7 +5369,7 @@ x_10 = l_Nat_repr(x_9);
|
|||
x_11 = l_Lean_Json_parse___closed__1;
|
||||
x_12 = lean_string_append(x_11, x_10);
|
||||
lean_dec(x_10);
|
||||
x_13 = l___private_Init_Util_0__mkPanicMessage___closed__3;
|
||||
x_13 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_14 = lean_string_append(x_12, x_13);
|
||||
x_15 = lean_string_append(x_14, x_8);
|
||||
lean_dec(x_8);
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/Data/Json/Printer.c
generated
12
stage0/stdlib/Lean/Data/Json/Printer.c
generated
|
|
@ -31,6 +31,7 @@ extern lean_object* l_Init_Data_Repr___instance__2___closed__2;
|
|||
lean_object* l_Lean_Json_Lean_Data_Json_Printer___instance__1;
|
||||
extern lean_object* l_Lean_formatDataValue___closed__1;
|
||||
extern lean_object* l_String_quote___closed__2;
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_render___closed__6;
|
||||
|
|
@ -47,7 +48,6 @@ lean_object* l_Lean_Json_render___closed__2;
|
|||
lean_object* l_Lean_Json_compress(lean_object*);
|
||||
lean_object* l_Lean_Format_joinSep___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_String_foldrAux_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__2;
|
||||
lean_object* l_Lean_Json_renderString(lean_object*);
|
||||
lean_object* l_Lean_Json_renderString___boxed(lean_object*);
|
||||
|
|
@ -69,6 +69,7 @@ extern lean_object* l_Lean_Format_sbracket___closed__4;
|
|||
lean_object* l_Lean_Json_render_match__1(lean_object*);
|
||||
lean_object* l_Lean_Json_render___closed__4;
|
||||
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
extern lean_object* l_Id_Init_Control_Id___instance__1;
|
||||
lean_object* l_Lean_Json_render(lean_object*);
|
||||
extern lean_object* l_Lean_Lean_Data_Format___instance__7;
|
||||
|
|
@ -79,7 +80,6 @@ extern lean_object* l_Lean_List_format___rarg___closed__3;
|
|||
lean_object* l_Std_RBNode_fold___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBNode_fold___at_Lean_Json_compress___spec__2(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_mod(lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
extern lean_object* l_Char_quoteCore___closed__5;
|
||||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Init_Prelude___instance__74___closed__1;
|
||||
|
|
@ -427,7 +427,7 @@ static lean_object* _init_l_Lean_Json_render___lambda__1___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -520,7 +520,7 @@ static lean_object* _init_l_Lean_Json_render___closed__7() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -832,7 +832,7 @@ lean_dec(x_2);
|
|||
x_7 = l_Std_RBNode_fold___at_Lean_Json_compress___spec__2(x_1, x_3);
|
||||
x_8 = l_Lean_Json_renderString(x_4);
|
||||
lean_dec(x_4);
|
||||
x_9 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_9 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
x_10 = lean_string_append(x_8, x_9);
|
||||
x_11 = l_Lean_Json_compress(x_5);
|
||||
x_12 = lean_string_append(x_10, x_11);
|
||||
|
|
@ -930,7 +930,7 @@ x_28 = l_String_intercalate(x_27, x_26);
|
|||
x_29 = l_addParenHeuristic___closed__1;
|
||||
x_30 = lean_string_append(x_29, x_28);
|
||||
lean_dec(x_28);
|
||||
x_31 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_31 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_32 = lean_string_append(x_30, x_31);
|
||||
return x_32;
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Data/Lsp/Communication.c
generated
4
stage0/stdlib/Lean/Data/Lsp/Communication.c
generated
|
|
@ -36,7 +36,6 @@ lean_object* l_List_toString___at___private_Lean_Data_Lsp_Communication_0__Lean_
|
|||
lean_object* l_Lean_Lsp_writeLspNotification___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_IO_FS_Stream_readMessage(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Lsp_writeLspNotification_match__1(lean_object*);
|
||||
extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__3;
|
||||
lean_object* l___private_Lean_Data_Lsp_Communication_0__Lean_Lsp_readHeaderFields_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_Communication_0__Lean_Lsp_readLspHeader___closed__1;
|
||||
lean_object* l_List_toStringAux___at___private_Lean_Data_Lsp_Communication_0__Lean_Lsp_readLspHeader___spec__3(uint8_t, lean_object*);
|
||||
|
|
@ -50,6 +49,7 @@ extern lean_object* l_Lean_JsonRpc_Lean_Data_JsonRpc___instance__2___closed__32;
|
|||
lean_object* l_List_lookup___at___private_Lean_Data_Lsp_Communication_0__Lean_Lsp_readLspHeader___spec__1___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_JsonRpc_Lean_Data_JsonRpc___instance__2___closed__24;
|
||||
lean_object* l_Lean_Lsp_writeLspNotification___rarg___closed__1;
|
||||
extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
extern lean_object* l_Lean_JsonRpc_Lean_Data_JsonRpc___instance__7___closed__13;
|
||||
lean_object* l_Nat_repr(lean_object*);
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__2;
|
||||
|
|
@ -181,7 +181,7 @@ if (x_8 == 0)
|
|||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_9 = l_String_dropRight(x_1, x_4);
|
||||
x_10 = l___private_Init_Util_0__mkPanicMessage___closed__3;
|
||||
x_10 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_11 = l_String_splitOn(x_9, x_10);
|
||||
if (lean_obj_tag(x_11) == 0)
|
||||
{
|
||||
|
|
|
|||
118
stage0/stdlib/Lean/Delaborator.c
generated
118
stage0/stdlib/Lean/Delaborator.c
generated
|
|
@ -57,7 +57,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__4;
|
|||
lean_object* l_Lean_Delaborator_delabProj_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__6;
|
||||
lean_object* lean_local_ctx_get_unused_name(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2;
|
||||
lean_object* l_Lean_Delaborator_delabConst___lambda__1___closed__5;
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabFVar___closed__1;
|
||||
lean_object* l_Lean_Delaborator_delabSort_match__1(lean_object*);
|
||||
|
|
@ -86,6 +85,7 @@ extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____c
|
|||
lean_object* l_Lean_Delaborator_delabLam___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Level_quote___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__4;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
lean_object* l_Lean_Delaborator_delabProjectionApp_match__2(lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabBind___closed__1;
|
||||
lean_object* l_Lean_Delaborator_delabseqLeft___lambda__1___closed__2;
|
||||
|
|
@ -116,6 +116,7 @@ lean_object* l_Lean_Delaborator_delabGE(lean_object*, lean_object*, lean_object*
|
|||
lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*);
|
||||
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabGE___closed__1;
|
||||
extern lean_object* l___kind_term____x40_Init_Core___hyg_315____closed__1;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabBind___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_getPPCoercions(lean_object*);
|
||||
|
|
@ -150,7 +151,6 @@ lean_object* l_Lean_Delaborator_delabListToArray___lambda__1(lean_object*, lean_
|
|||
lean_object* l___regBuiltin_Lean_Delaborator_delabAppImplicit___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabStructureInstance___closed__1;
|
||||
lean_object* l_Lean_Delaborator_delabOrElse___closed__1;
|
||||
extern lean_object* l___kind_term____x40_Init_Core___hyg_320____closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabseqRight___closed__1;
|
||||
lean_object* l_Lean_Delaborator_delabInfixOp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__1___closed__1;
|
||||
|
|
@ -188,15 +188,14 @@ lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delabor
|
|||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__12;
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__4;
|
||||
lean_object* l_Lean_getPPNotation___boxed(lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Level_quote___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t l_USize_sub(size_t, size_t);
|
||||
extern lean_object* l_myMacro____x40_Init_Core___hyg_720____closed__4;
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
lean_object* l_Lean_Delaborator_delabLit_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabTuple(lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
lean_object* lean_environment_find(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getPPNotation___closed__1;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -379,7 +378,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__4;
|
|||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__4;
|
||||
lean_object* l_Lean_Delaborator_delabTuple(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_orElse___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabBind(lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabMap___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -422,7 +420,6 @@ extern lean_object* l___kind_term____x40_Init_Notation___hyg_3997____closed__1;
|
|||
lean_object* l_Lean_Delaborator_delabMData_match__1___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__6;
|
||||
lean_object* l_Lean_Delaborator_getExprKind___closed__10;
|
||||
extern lean_object* l___kind_term____x40_Init_Core___hyg_1002____closed__1;
|
||||
lean_object* l_Lean_Delaborator_delabSort___closed__3;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__2;
|
||||
lean_object* l_Lean_Delaborator_getExprKind_match__1(lean_object*);
|
||||
|
|
@ -437,11 +434,13 @@ lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders_ma
|
|||
lean_object* l___regBuiltin_Lean_Delaborator_delabAppend(lean_object*);
|
||||
lean_object* l_Lean_Meta_inferType___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabMData___closed__1;
|
||||
extern lean_object* l___kind_term____x40_Init_Core___hyg_680____closed__1;
|
||||
lean_object* l_Lean_Delaborator_delabForall_match__1(lean_object*);
|
||||
lean_object* l_Lean_Level_Lean_Delaborator___instance__1;
|
||||
lean_object* l_Lean_Syntax_mkApp(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabSort___closed__7;
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabAppExplicit___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___kind_term____x40_Init_Core___hyg_150____closed__4;
|
||||
lean_object* l_Lean_Delaborator_annotateCurPos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabListToArray(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabModN___closed__3;
|
||||
|
|
@ -509,6 +508,7 @@ lean_object* l_Lean_Delaborator_delab___closed__1;
|
|||
lean_object* l___regBuiltin_Lean_Delaborator_delabAndThen(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3(size_t, size_t, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__16;
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabBOr___closed__2;
|
||||
lean_object* l_Lean_Delaborator_delabTuple___lambda__1___closed__1;
|
||||
extern lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__1;
|
||||
|
|
@ -526,6 +526,7 @@ lean_object* l_Lean_Delaborator_withAppFnArgs_match__1___rarg(lean_object*, lean
|
|||
lean_object* l_Lean_Delaborator_delabLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabOrM___lambda__1___closed__2;
|
||||
lean_object* l_Lean_Delaborator_delabBOr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___kind_term____x40_Init_Core___hyg_997____closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabListToArray___closed__1;
|
||||
extern lean_object* l___kind_stx____x40_Init_Notation___hyg_5672____closed__8;
|
||||
uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t);
|
||||
|
|
@ -691,7 +692,6 @@ lean_object* l_Lean_Delaborator_delabForall___closed__1;
|
|||
extern lean_object* l_Lean_protectedExt;
|
||||
lean_object* l_Lean_Delaborator_delabPrefixOp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Expr_isCharLit___closed__3;
|
||||
extern lean_object* l___kind_term____x40_Init_Core___hyg_685____closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__5;
|
||||
lean_object* l_Lean_Delaborator_failure___rarg___closed__1;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_574_(lean_object*);
|
||||
|
|
@ -718,7 +718,6 @@ lean_object* l_Lean_Delaborator_getParamKinds___lambda__1___boxed__const__1;
|
|||
lean_object* l_Lean_Delaborator_withAppArg___rarg___closed__2;
|
||||
lean_object* l_Lean_Level_quote___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabNe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Core___hyg_190____closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabAndM___closed__2;
|
||||
lean_object* l_Lean_Delaborator_delabBVar_match__1(lean_object*);
|
||||
lean_object* l_Lean_Level_quote___lambda__9(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -733,7 +732,6 @@ uint8_t l_Lean_getPPPrivateNames(lean_object*);
|
|||
size_t lean_usize_modn(size_t, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabProjectionApp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_Lean_Delaborator___instance__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
extern lean_object* l_Lean_mkSimpleThunk___closed__1;
|
||||
lean_object* l_Lean_Delaborator_delabLam___lambda__3___closed__4;
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -758,6 +756,7 @@ extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__3;
|
|||
lean_object* l_Lean_Delaborator_delabProjectionApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6153____closed__7;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
lean_object* l_Lean_Delaborator_delabProjectionApp_match__3(lean_object*);
|
||||
lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__4;
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabGE___closed__1;
|
||||
|
|
@ -770,6 +769,7 @@ lean_object* l_Lean_Delaborator_delabSort___closed__6;
|
|||
lean_object* l_Lean_Delaborator_getExprKind___closed__7;
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabIff___closed__2;
|
||||
uint8_t l_Lean_getPPStructureInstances(lean_object*);
|
||||
extern lean_object* l___kind_term____x40_Init_Core___hyg_1390____closed__1;
|
||||
lean_object* l_Lean_Delaborator_getParamKinds_match__1(lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabAnd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabBNe___closed__1;
|
||||
|
|
@ -837,6 +837,7 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabLT___closed__2;
|
|||
lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Delaborator_delabFor___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getPPCoercions___boxed(lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Level_elabLevel___closed__4;
|
||||
extern lean_object* l_myMacro____x40_Init_Core___hyg_1425____closed__1;
|
||||
lean_object* l_Lean_Delaborator_delabCoe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerInternalExceptionId(lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__2;
|
||||
|
|
@ -873,7 +874,6 @@ extern lean_object* l_Lean_Expr_ctorName___closed__9;
|
|||
lean_object* l_Lean_LocalDecl_type(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__6;
|
||||
uint8_t l_Lean_getPPNotation(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Core___hyg_1430____closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabAdd___closed__2;
|
||||
lean_object* l_Lean_Delaborator_failure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Init_Prelude___instance__10;
|
||||
|
|
@ -896,6 +896,7 @@ lean_object* l_Lean_Delaborator_delabFor_match__2___rarg(lean_object*, lean_obje
|
|||
lean_object* l_Lean_Delaborator_delabOrM___closed__1;
|
||||
lean_object* l_Lean_Delaborator_AppMatchState_params___default;
|
||||
lean_object* l_Lean_SMap_find_x3f___at_Lean_Delaborator_delabFor___spec__1___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabProjectionApp(lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabGT___lambda__1___closed__2;
|
||||
lean_object* l_List_redLength___rarg(lean_object*);
|
||||
|
|
@ -907,6 +908,7 @@ lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveOpenDecls
|
|||
lean_object* l_Lean_getPPStructureInstanceType___boxed(lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getPPStructureInstanceType___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
lean_object* l_Lean_Delaborator_delabGT___lambda__1___closed__1;
|
||||
lean_object* l_Lean_Delaborator_delabOrM___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__1(lean_object*);
|
||||
|
|
@ -926,7 +928,6 @@ lean_object* l_Lean_Expr_bindingName_x21(lean_object*);
|
|||
extern lean_object* l_Lean_Expr_ctorName___closed__10;
|
||||
lean_object* l_Std_AssocList_find_x3f___at_Lean_Delaborator_delabFor___spec__6___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__3;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
lean_object* l_Lean_Delaborator_delabLam_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabBOr___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_2019____closed__1;
|
||||
|
|
@ -981,14 +982,12 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__1;
|
|||
uint8_t l_Lean_Name_isAnonymous(lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabIff___lambda__1___closed__3;
|
||||
lean_object* l_Lean_Delaborator_delabMVar___closed__2;
|
||||
extern lean_object* l___kind_term____x40_Init_Core___hyg_155____closed__4;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__6;
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__2;
|
||||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_setOptionFromString___closed__1;
|
||||
lean_object* l_Lean_getPPUniverses___closed__2;
|
||||
extern lean_object* l___kind_term____x40_Init_Core___hyg_1395____closed__1;
|
||||
lean_object* l_Lean_Delaborator_delabLT___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1;
|
||||
extern lean_object* l_Lean_getSanitizeNames___closed__1;
|
||||
|
|
@ -1002,9 +1001,9 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabIff___closed__1;
|
|||
extern lean_object* l_Lean_Unhygienic_Lean_Hygiene___instance__1___closed__4;
|
||||
lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__5;
|
||||
lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__6;
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__1;
|
||||
lean_object* l_Lean_Delaborator_delabNe___lambda__1___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Core___hyg_720____closed__6;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_5169____closed__1;
|
||||
extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__2;
|
||||
lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1040,6 +1039,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__6;
|
|||
lean_object* l_Lean_getPPUniverses___boxed(lean_object*);
|
||||
lean_object* l_Lean_getPPStructureInstances___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabOrM(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Core___hyg_185____closed__1;
|
||||
lean_object* l_Lean_Delaborator_delabMData(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabFailureId;
|
||||
lean_object* l_Array_ofSubarray___rarg(lean_object*);
|
||||
|
|
@ -1052,7 +1052,6 @@ lean_object* l_Lean_Delaborator_delabSort_match__3___rarg(lean_object*, lean_obj
|
|||
lean_object* l_Lean_Meta_setMCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_liftMkBindingM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabNil___closed__2;
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Core___hyg_1037____closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabDiv___closed__3;
|
||||
lean_object* l_Lean_delab___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__6;
|
||||
|
|
@ -1098,7 +1097,6 @@ lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__2(lean_object*, lean_
|
|||
lean_object* l_Lean_Delaborator_delabCons___lambda__1___closed__2;
|
||||
lean_object* l_Lean_Delaborator_delabseqRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_withProj_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
lean_object* l_Lean_Delaborator_mkDelabAttribute(lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabListToArray___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_getParamKinds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1143,6 +1141,7 @@ lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_ob
|
|||
lean_object* l_Lean_Delaborator_delabLit_match__1(lean_object*);
|
||||
lean_object* l_Lean_Delaborator_withAppArg___rarg___closed__1;
|
||||
lean_object* l_Lean_Delaborator_delabFor_match__2(lean_object*);
|
||||
extern lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2;
|
||||
lean_object* l_Lean_Delaborator_delabAppImplicit___closed__4;
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabLam(lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__6;
|
||||
|
|
@ -1165,6 +1164,7 @@ lean_object* l_Lean_Delaborator_delabModN(lean_object*, lean_object*, lean_objec
|
|||
lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__4(lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabPow___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Delaborator_delabFor___spec__5___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Core___hyg_1032____closed__1;
|
||||
lean_object* l_Lean_Delaborator_delabBNot___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabProj(lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabBNot___lambda__1___closed__4;
|
||||
|
|
@ -1175,6 +1175,7 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabLetE(lean_object*);
|
|||
lean_object* l___regBuiltin_Lean_Delaborator_delabMap___closed__1;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_2848____closed__1;
|
||||
lean_object* l_Lean_delab___closed__1;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_2679____closed__1;
|
||||
lean_object* l_Lean_Delaborator_delabConsList___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Delaborator_delabConst___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1189,7 +1190,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__1;
|
|||
lean_object* l_Lean_Delaborator_getParamKinds___closed__1;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabConst___spec__1(size_t, size_t, lean_object*);
|
||||
extern lean_object* l_Lean_KeyedDeclsAttribute_Lean_KeyedDeclsAttribute___instance__3___closed__1;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__2;
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabMapRev(lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Delaborator_delabNil___closed__1;
|
||||
lean_object* l_Lean_Delaborator_delabCons___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1778,7 +1778,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Level_elabLevel___closed__6;
|
||||
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__2;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__16;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
|
|
@ -13216,7 +13216,7 @@ x_40 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_40, 0, x_39);
|
||||
lean_ctor_set(x_40, 1, x_38);
|
||||
x_41 = lean_array_push(x_26, x_40);
|
||||
x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_43 = lean_array_push(x_41, x_42);
|
||||
x_44 = l_Lean_Delaborator_delabConst___lambda__1___closed__3;
|
||||
x_45 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -13270,7 +13270,7 @@ x_67 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_67, 0, x_66);
|
||||
lean_ctor_set(x_67, 1, x_65);
|
||||
x_68 = lean_array_push(x_53, x_67);
|
||||
x_69 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_69 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_70 = lean_array_push(x_68, x_69);
|
||||
x_71 = l_Lean_Delaborator_delabConst___lambda__1___closed__3;
|
||||
x_72 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -22028,9 +22028,9 @@ _start:
|
|||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27;
|
||||
x_10 = l_Array_empty___closed__1;
|
||||
x_11 = lean_array_push(x_10, x_3);
|
||||
x_12 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_12 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_13 = lean_array_push(x_12, x_1);
|
||||
x_14 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_14 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_15 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
lean_ctor_set(x_15, 1, x_13);
|
||||
|
|
@ -22374,7 +22374,7 @@ x_60 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4;
|
|||
x_61 = lean_array_push(x_60, x_59);
|
||||
x_62 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18;
|
||||
x_63 = lean_array_push(x_61, x_62);
|
||||
x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_65 = lean_array_push(x_63, x_64);
|
||||
x_66 = l_Lean_Delaborator_delabLam___lambda__3___closed__1;
|
||||
x_67 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -22400,13 +22400,13 @@ lean_ctor_set(x_72, 0, x_71);
|
|||
lean_ctor_set(x_72, 1, x_70);
|
||||
x_73 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4;
|
||||
x_74 = lean_array_push(x_73, x_72);
|
||||
x_75 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_75 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_76 = lean_array_push(x_75, x_14);
|
||||
x_77 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_77, 0, x_71);
|
||||
lean_ctor_set(x_77, 1, x_76);
|
||||
x_78 = lean_array_push(x_74, x_77);
|
||||
x_79 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_79 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_80 = lean_array_push(x_78, x_79);
|
||||
x_81 = l_Lean_Delaborator_delabLam___lambda__3___closed__1;
|
||||
x_82 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -22430,7 +22430,7 @@ x_84 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1);
|
|||
lean_dec(x_1);
|
||||
x_85 = l_Array_empty___closed__1;
|
||||
x_86 = lean_array_push(x_85, x_84);
|
||||
x_87 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_87 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_88 = lean_array_push(x_86, x_87);
|
||||
x_89 = l_Lean_nullKind___closed__2;
|
||||
x_90 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -22765,7 +22765,7 @@ x_161 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4;
|
|||
x_162 = lean_array_push(x_161, x_160);
|
||||
x_163 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18;
|
||||
x_164 = lean_array_push(x_162, x_163);
|
||||
x_165 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_165 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_166 = lean_array_push(x_164, x_165);
|
||||
x_167 = l_Lean_Delaborator_delabLam___lambda__3___closed__1;
|
||||
x_168 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -22791,13 +22791,13 @@ lean_ctor_set(x_173, 0, x_172);
|
|||
lean_ctor_set(x_173, 1, x_171);
|
||||
x_174 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4;
|
||||
x_175 = lean_array_push(x_174, x_173);
|
||||
x_176 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_176 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_177 = lean_array_push(x_176, x_14);
|
||||
x_178 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_178, 0, x_172);
|
||||
lean_ctor_set(x_178, 1, x_177);
|
||||
x_179 = lean_array_push(x_175, x_178);
|
||||
x_180 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_180 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_181 = lean_array_push(x_179, x_180);
|
||||
x_182 = l_Lean_Delaborator_delabLam___lambda__3___closed__1;
|
||||
x_183 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -22821,7 +22821,7 @@ x_185 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1);
|
|||
lean_dec(x_1);
|
||||
x_186 = l_Array_empty___closed__1;
|
||||
x_187 = lean_array_push(x_186, x_185);
|
||||
x_188 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_188 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_189 = lean_array_push(x_187, x_188);
|
||||
x_190 = l_Lean_nullKind___closed__2;
|
||||
x_191 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -23355,7 +23355,7 @@ lean_ctor_set(x_48, 0, x_47);
|
|||
lean_ctor_set(x_48, 1, x_46);
|
||||
x_49 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
x_50 = lean_array_push(x_49, x_48);
|
||||
x_51 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_51 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_52 = lean_array_push(x_51, x_15);
|
||||
x_53 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_53, 0, x_47);
|
||||
|
|
@ -23487,13 +23487,13 @@ lean_ctor_set(x_70, 0, x_69);
|
|||
lean_ctor_set(x_70, 1, x_68);
|
||||
x_71 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4;
|
||||
x_72 = lean_array_push(x_71, x_70);
|
||||
x_73 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_73 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_74 = lean_array_push(x_73, x_15);
|
||||
x_75 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_75, 0, x_69);
|
||||
lean_ctor_set(x_75, 1, x_74);
|
||||
x_76 = lean_array_push(x_72, x_75);
|
||||
x_77 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_77 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_78 = lean_array_push(x_76, x_77);
|
||||
x_79 = l_Lean_Delaborator_delabLam___lambda__3___closed__1;
|
||||
x_80 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -23528,7 +23528,7 @@ lean_dec(x_3);
|
|||
x_88 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1);
|
||||
x_89 = l_Array_empty___closed__1;
|
||||
x_90 = lean_array_push(x_89, x_88);
|
||||
x_91 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_91 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_92 = lean_array_push(x_90, x_91);
|
||||
x_93 = l_Lean_nullKind___closed__2;
|
||||
x_94 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -23696,7 +23696,7 @@ lean_ctor_set(x_154, 0, x_153);
|
|||
lean_ctor_set(x_154, 1, x_152);
|
||||
x_155 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
x_156 = lean_array_push(x_155, x_154);
|
||||
x_157 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_157 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_158 = lean_array_push(x_157, x_121);
|
||||
x_159 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_159, 0, x_153);
|
||||
|
|
@ -23828,13 +23828,13 @@ lean_ctor_set(x_177, 0, x_176);
|
|||
lean_ctor_set(x_177, 1, x_175);
|
||||
x_178 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4;
|
||||
x_179 = lean_array_push(x_178, x_177);
|
||||
x_180 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_180 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_181 = lean_array_push(x_180, x_121);
|
||||
x_182 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_182, 0, x_176);
|
||||
lean_ctor_set(x_182, 1, x_181);
|
||||
x_183 = lean_array_push(x_179, x_182);
|
||||
x_184 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_184 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_185 = lean_array_push(x_183, x_184);
|
||||
x_186 = l_Lean_Delaborator_delabLam___lambda__3___closed__1;
|
||||
x_187 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -23868,7 +23868,7 @@ lean_dec(x_3);
|
|||
x_195 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1);
|
||||
x_196 = l_Array_empty___closed__1;
|
||||
x_197 = lean_array_push(x_196, x_195);
|
||||
x_198 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_198 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_199 = lean_array_push(x_197, x_198);
|
||||
x_200 = l_Lean_nullKind___closed__2;
|
||||
x_201 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -24257,9 +24257,9 @@ x_31 = l_Array_empty___closed__1;
|
|||
x_32 = lean_array_push(x_31, x_30);
|
||||
x_33 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18;
|
||||
x_34 = lean_array_push(x_32, x_33);
|
||||
x_35 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_35 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_36 = lean_array_push(x_35, x_20);
|
||||
x_37 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_37 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_38 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_38, 0, x_37);
|
||||
lean_ctor_set(x_38, 1, x_36);
|
||||
|
|
@ -24306,9 +24306,9 @@ x_61 = l_Array_empty___closed__1;
|
|||
x_62 = lean_array_push(x_61, x_60);
|
||||
x_63 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18;
|
||||
x_64 = lean_array_push(x_62, x_63);
|
||||
x_65 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_65 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_66 = lean_array_push(x_65, x_20);
|
||||
x_67 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_67 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_68 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_68, 0, x_67);
|
||||
lean_ctor_set(x_68, 1, x_66);
|
||||
|
|
@ -26230,7 +26230,7 @@ x_47 = lean_array_push(x_46, x_45);
|
|||
x_48 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18;
|
||||
x_49 = lean_array_push(x_47, x_48);
|
||||
x_50 = lean_array_push(x_49, x_48);
|
||||
x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_52 = lean_array_push(x_50, x_51);
|
||||
x_53 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2;
|
||||
x_54 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -26256,7 +26256,7 @@ x_60 = lean_array_push(x_59, x_58);
|
|||
x_61 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18;
|
||||
x_62 = lean_array_push(x_60, x_61);
|
||||
x_63 = lean_array_push(x_62, x_61);
|
||||
x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_65 = lean_array_push(x_63, x_64);
|
||||
x_66 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2;
|
||||
x_67 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -26308,13 +26308,13 @@ x_81 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__5;
|
|||
x_82 = lean_array_push(x_81, x_80);
|
||||
x_83 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18;
|
||||
x_84 = lean_array_push(x_82, x_83);
|
||||
x_85 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_85 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_86 = lean_array_push(x_85, x_77);
|
||||
x_87 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_87, 0, x_79);
|
||||
lean_ctor_set(x_87, 1, x_86);
|
||||
x_88 = lean_array_push(x_84, x_87);
|
||||
x_89 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_89 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_90 = lean_array_push(x_88, x_89);
|
||||
x_91 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2;
|
||||
x_92 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -26341,13 +26341,13 @@ x_98 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__5;
|
|||
x_99 = lean_array_push(x_98, x_97);
|
||||
x_100 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18;
|
||||
x_101 = lean_array_push(x_99, x_100);
|
||||
x_102 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_102 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_103 = lean_array_push(x_102, x_93);
|
||||
x_104 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_104, 0, x_96);
|
||||
lean_ctor_set(x_104, 1, x_103);
|
||||
x_105 = lean_array_push(x_101, x_104);
|
||||
x_106 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_106 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_107 = lean_array_push(x_105, x_106);
|
||||
x_108 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2;
|
||||
x_109 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -29426,7 +29426,7 @@ x_11 = lean_array_push(x_10, x_2);
|
|||
x_12 = l_Lean_Delaborator_delabNe___lambda__1___closed__2;
|
||||
x_13 = lean_array_push(x_11, x_12);
|
||||
x_14 = lean_array_push(x_13, x_3);
|
||||
x_15 = l___kind_term____x40_Init_Core___hyg_1395____closed__1;
|
||||
x_15 = l___kind_term____x40_Init_Core___hyg_1390____closed__1;
|
||||
x_16 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_14);
|
||||
|
|
@ -29473,7 +29473,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Delaborator_getExprKind___closed__5;
|
||||
x_2 = l_myMacro____x40_Init_Core___hyg_1430____closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Core___hyg_1425____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -29636,7 +29636,7 @@ x_11 = lean_array_push(x_10, x_2);
|
|||
x_12 = l_Lean_Delaborator_delabBNe___lambda__1___closed__2;
|
||||
x_13 = lean_array_push(x_11, x_12);
|
||||
x_14 = lean_array_push(x_13, x_3);
|
||||
x_15 = l___kind_term____x40_Init_Core___hyg_1002____closed__1;
|
||||
x_15 = l___kind_term____x40_Init_Core___hyg_997____closed__1;
|
||||
x_16 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_14);
|
||||
|
|
@ -29683,7 +29683,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Delaborator_getExprKind___closed__5;
|
||||
x_2 = l_myMacro____x40_Init_Core___hyg_1037____closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Core___hyg_1032____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -29876,7 +29876,7 @@ x_11 = lean_array_push(x_10, x_2);
|
|||
x_12 = l_Lean_Delaborator_delabEquiv___lambda__1___closed__2;
|
||||
x_13 = lean_array_push(x_11, x_12);
|
||||
x_14 = lean_array_push(x_13, x_3);
|
||||
x_15 = l___kind_term____x40_Init_Core___hyg_685____closed__1;
|
||||
x_15 = l___kind_term____x40_Init_Core___hyg_680____closed__1;
|
||||
x_16 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_14);
|
||||
|
|
@ -29923,7 +29923,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Delaborator_getExprKind___closed__5;
|
||||
x_2 = l_myMacro____x40_Init_Core___hyg_720____closed__4;
|
||||
x_2 = l_myMacro____x40_Init_Core___hyg_715____closed__4;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -29933,7 +29933,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Delaborator_delabEquiv___closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Core___hyg_720____closed__6;
|
||||
x_2 = l_myMacro____x40_Init_Core___hyg_715____closed__6;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -30288,7 +30288,7 @@ x_11 = lean_array_push(x_10, x_2);
|
|||
x_12 = l_Lean_Delaborator_delabIff___lambda__1___closed__2;
|
||||
x_13 = lean_array_push(x_11, x_12);
|
||||
x_14 = lean_array_push(x_13, x_3);
|
||||
x_15 = l___kind_term____x40_Init_Core___hyg_155____closed__4;
|
||||
x_15 = l___kind_term____x40_Init_Core___hyg_150____closed__4;
|
||||
x_16 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_14);
|
||||
|
|
@ -30305,7 +30305,7 @@ x_19 = lean_array_push(x_18, x_2);
|
|||
x_20 = l_Lean_Delaborator_delabIff___lambda__1___closed__4;
|
||||
x_21 = lean_array_push(x_19, x_20);
|
||||
x_22 = lean_array_push(x_21, x_3);
|
||||
x_23 = l___kind_term____x40_Init_Core___hyg_320____closed__1;
|
||||
x_23 = l___kind_term____x40_Init_Core___hyg_315____closed__1;
|
||||
x_24 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_23);
|
||||
lean_ctor_set(x_24, 1, x_22);
|
||||
|
|
@ -30353,7 +30353,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Delaborator_getExprKind___closed__5;
|
||||
x_2 = l_myMacro____x40_Init_Core___hyg_190____closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Core___hyg_185____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -30563,7 +30563,7 @@ _start:
|
|||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_10 = l_Array_empty___closed__1;
|
||||
x_11 = lean_array_push(x_10, x_2);
|
||||
x_12 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2;
|
||||
x_12 = l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2;
|
||||
x_13 = lean_array_push(x_11, x_12);
|
||||
x_14 = lean_array_push(x_13, x_3);
|
||||
x_15 = l___kind_term____x40_Init_Notation___hyg_4161____closed__1;
|
||||
|
|
|
|||
36
stage0/stdlib/Lean/Elab/App.c
generated
36
stage0/stdlib/Lean/Elab/App.c
generated
|
|
@ -342,7 +342,6 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed_
|
|||
lean_object* l_Lean_Elab_Term_ElabAppArgs_main_match__3___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___closed__11;
|
||||
extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
lean_object* l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__1(lean_object*);
|
||||
lean_object* l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicitUniv___closed__1;
|
||||
|
|
@ -496,6 +495,7 @@ extern lean_object* l_Option_get_x21___rarg___closed__4;
|
|||
extern lean_object* l_Lean_Syntax_mkApp___closed__1;
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_filterAux___at_Lean_Elab_Term_ElabAppArgs_eraseNamedArgCore___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_throwLValError___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -551,6 +551,7 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicit___closed__1;
|
|||
extern lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1;
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__5___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
lean_object* l_Lean_Elab_Term_ElabAppArgs_State_etaArgs___default;
|
||||
lean_object* l_Lean_Elab_getRefPos___at___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageData___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isExprDefEq___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -560,7 +561,6 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_match__1(le
|
|||
lean_object* l_Lean_Exception_getRef(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__6;
|
||||
lean_object* l_Lean_Meta_commitWhen___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_mkHole___closed__1;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__1___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_elabExplicitUniv(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -589,6 +589,7 @@ lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_ElabAppArgs_main_match__1(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop_match__2(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___lambda__1___closed__4;
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__5___lambda__4___boxed(lean_object**);
|
||||
|
|
@ -600,7 +601,6 @@ lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Te
|
|||
lean_object* l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__1___closed__3;
|
||||
lean_object* l_Lean_Elab_Term_ElabAppArgs_synthesizeAppInstMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -634,7 +634,6 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda
|
|||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_consumeImplicits___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__1;
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux_match__3(lean_object*);
|
||||
extern lean_object* l_Lean_mkHole___closed__2;
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___closed__13;
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAtom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabApp_match__1(lean_object*);
|
||||
|
|
@ -678,6 +677,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg_match__1___r
|
|||
lean_object* l_Lean_Expr_getAppFn(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___lambda__1___closed__3;
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Expr_ctorName___closed__11;
|
||||
|
|
@ -7479,7 +7479,7 @@ else
|
|||
{
|
||||
lean_object* x_45; uint8_t x_46;
|
||||
lean_dec(x_22);
|
||||
x_45 = l_Lean_mkHole___closed__1;
|
||||
x_45 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_46 = lean_string_dec_eq(x_18, x_45);
|
||||
if (x_46 == 0)
|
||||
{
|
||||
|
|
@ -7552,7 +7552,7 @@ else
|
|||
{
|
||||
lean_object* x_61; uint8_t x_62;
|
||||
lean_dec(x_22);
|
||||
x_61 = l_Lean_mkHole___closed__1;
|
||||
x_61 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_62 = lean_string_dec_eq(x_18, x_61);
|
||||
if (x_62 == 0)
|
||||
{
|
||||
|
|
@ -7679,7 +7679,7 @@ else
|
|||
{
|
||||
lean_object* x_86; uint8_t x_87;
|
||||
lean_dec(x_22);
|
||||
x_86 = l_Lean_mkHole___closed__1;
|
||||
x_86 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_87 = lean_string_dec_eq(x_18, x_86);
|
||||
if (x_87 == 0)
|
||||
{
|
||||
|
|
@ -7840,7 +7840,7 @@ else
|
|||
{
|
||||
lean_object* x_117; uint8_t x_118;
|
||||
lean_dec(x_22);
|
||||
x_117 = l_Lean_mkHole___closed__1;
|
||||
x_117 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_118 = lean_string_dec_eq(x_18, x_117);
|
||||
if (x_118 == 0)
|
||||
{
|
||||
|
|
@ -8035,7 +8035,7 @@ else
|
|||
{
|
||||
lean_object* x_154; uint8_t x_155;
|
||||
lean_dec(x_128);
|
||||
x_154 = l_Lean_mkHole___closed__1;
|
||||
x_154 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_155 = lean_string_dec_eq(x_18, x_154);
|
||||
if (x_155 == 0)
|
||||
{
|
||||
|
|
@ -8264,7 +8264,7 @@ else
|
|||
{
|
||||
lean_object* x_197; uint8_t x_198;
|
||||
lean_dec(x_168);
|
||||
x_197 = l_Lean_mkHole___closed__1;
|
||||
x_197 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_198 = lean_string_dec_eq(x_166, x_197);
|
||||
if (x_198 == 0)
|
||||
{
|
||||
|
|
@ -8525,7 +8525,7 @@ else
|
|||
{
|
||||
lean_object* x_245; uint8_t x_246;
|
||||
lean_dec(x_214);
|
||||
x_245 = l_Lean_mkHole___closed__1;
|
||||
x_245 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_246 = lean_string_dec_eq(x_211, x_245);
|
||||
if (x_246 == 0)
|
||||
{
|
||||
|
|
@ -8918,7 +8918,7 @@ else
|
|||
{
|
||||
lean_object* x_310; uint8_t x_311;
|
||||
lean_dec(x_277);
|
||||
x_310 = l_Lean_mkHole___closed__1;
|
||||
x_310 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_311 = lean_string_dec_eq(x_274, x_310);
|
||||
if (x_311 == 0)
|
||||
{
|
||||
|
|
@ -9231,7 +9231,7 @@ return x_9;
|
|||
else
|
||||
{
|
||||
lean_object* x_45; uint8_t x_46;
|
||||
x_45 = l_Lean_mkHole___closed__1;
|
||||
x_45 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_46 = lean_string_dec_eq(x_29, x_45);
|
||||
lean_dec(x_29);
|
||||
if (x_46 == 0)
|
||||
|
|
@ -9326,7 +9326,7 @@ return x_70;
|
|||
else
|
||||
{
|
||||
lean_object* x_71; uint8_t x_72;
|
||||
x_71 = l_Lean_mkHole___closed__1;
|
||||
x_71 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_72 = lean_string_dec_eq(x_52, x_71);
|
||||
lean_dec(x_52);
|
||||
if (x_72 == 0)
|
||||
|
|
@ -19498,7 +19498,7 @@ lean_ctor_set(x_65, 0, x_62);
|
|||
lean_ctor_set(x_65, 1, x_64);
|
||||
x_66 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4;
|
||||
x_67 = lean_array_push(x_66, x_65);
|
||||
x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_69 = lean_array_push(x_67, x_68);
|
||||
x_70 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2;
|
||||
x_71 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -33469,7 +33469,7 @@ x_353 = l_Lean_Syntax_isOfKind(x_1, x_352);
|
|||
if (x_353 == 0)
|
||||
{
|
||||
lean_object* x_354; uint8_t x_355;
|
||||
x_354 = l_Lean_mkHole___closed__2;
|
||||
x_354 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
lean_inc(x_1);
|
||||
x_355 = l_Lean_Syntax_isOfKind(x_1, x_354);
|
||||
if (x_355 == 0)
|
||||
|
|
@ -33526,7 +33526,7 @@ x_367 = lean_nat_dec_eq(x_365, x_366);
|
|||
if (x_367 == 0)
|
||||
{
|
||||
lean_object* x_368; uint8_t x_369;
|
||||
x_368 = l_Lean_mkHole___closed__2;
|
||||
x_368 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
lean_inc(x_1);
|
||||
x_369 = l_Lean_Syntax_isOfKind(x_1, x_368);
|
||||
if (x_369 == 0)
|
||||
|
|
@ -35889,7 +35889,7 @@ static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageD
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
|
|||
64
stage0/stdlib/Lean/Elab/Binders.c
generated
64
stage0/stdlib/Lean/Elab/Binders.c
generated
|
|
@ -25,6 +25,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall__
|
|||
size_t l_USize_add(size_t, size_t);
|
||||
lean_object* l_Lean_Elab_Term_elabLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__3;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_elabLetDeclAux___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__7;
|
||||
extern lean_object* l_Lean_Syntax_strLitToAtom___closed__3;
|
||||
|
|
@ -40,6 +41,7 @@ lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg(lean_obj
|
|||
lean_object* l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_nullKind;
|
||||
extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__6;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabBinders_match__1(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__11;
|
||||
|
|
@ -136,7 +138,6 @@ lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponed(uint
|
|||
lean_object* l_Lean_Meta_instantiateMVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandFunBinders_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
lean_object* l_Lean_Meta_setPostponed___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_getResetPostponed___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -270,7 +271,6 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews___l
|
|||
lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__19;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder_match__1(lean_object*);
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Array_isEmpty___rarg(lean_object*);
|
||||
|
|
@ -329,7 +329,9 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunB
|
|||
lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__12;
|
||||
extern lean_object* l_Lean_Syntax_mkApp___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_elabArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__15;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
lean_object* l_Lean_Syntax_getSepArgs(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_FunBinders_State_expectedType_x3f___default;
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -339,7 +341,6 @@ lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__16;
|
|||
lean_object* l_Lean_Syntax_getNumArgs(lean_object*);
|
||||
lean_object* l_Lean_mkHole(lean_object*);
|
||||
extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
lean_object* l_Lean_Elab_Term_elabFunBinders___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_environment_main_module(lean_object*);
|
||||
|
|
@ -348,6 +349,7 @@ extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_
|
|||
extern lean_object* l_Lean_Expr_getOptParamDefault_x3f___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___boxed__const__1;
|
||||
extern lean_object* l_Lean_Expr_Lean_Expr___instance__11;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_quoteAutoTactic_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__6;
|
||||
|
|
@ -366,12 +368,12 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagat
|
|||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_elabLetDeclCore_match__2(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__12;
|
||||
lean_object* l_Lean_Elab_Term_quoteAutoTactic_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__1___closed__2;
|
||||
extern lean_object* l_Lean_mkHole___closed__1;
|
||||
lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___at_Lean_Elab_Term_elabBinders___spec__2(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*);
|
||||
|
|
@ -403,7 +405,6 @@ extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____c
|
|||
lean_object* l_Lean_setEnv___at_Lean_Elab_Term_declareTacticSyntax___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___at_Lean_Elab_Term_elabBinders___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__14;
|
||||
extern lean_object* l_Lean_mkOptionalNode___closed__1;
|
||||
|
|
@ -423,11 +424,9 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsInto
|
|||
lean_object* l_Lean_Elab_Term_elabFun_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getLocalInstances___at_Lean_Elab_Term_elabBinders___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabBinders___rarg___closed__2;
|
||||
extern lean_object* l_Lean_mkHole___closed__2;
|
||||
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_object* l_Lean_Elab_Term_mkLetIdDeclView(lean_object*);
|
||||
extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__10;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__9;
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed__const__1;
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___spec__1___closed__3;
|
||||
lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__9;
|
||||
|
|
@ -446,6 +445,7 @@ lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__11;
|
|||
lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDecl(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandFunBinders_loop_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(lean_object*, size_t, size_t, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
lean_object* lean_compile_decl(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_match__1(lean_object*);
|
||||
lean_object* l_Init_Control_Basic___instance__3___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -544,7 +544,7 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent(l
|
|||
_start:
|
||||
{
|
||||
lean_object* x_9; uint8_t x_10;
|
||||
x_9 = l_Lean_mkHole___closed__2;
|
||||
x_9 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
lean_inc(x_1);
|
||||
x_10 = l_Lean_Syntax_isOfKind(x_1, x_9);
|
||||
if (x_10 == 0)
|
||||
|
|
@ -1025,7 +1025,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__6;
|
||||
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -1075,7 +1075,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4;
|
||||
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25;
|
||||
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -3523,7 +3523,7 @@ x_20 = lean_name_eq(x_18, x_19);
|
|||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_21; uint8_t x_22;
|
||||
x_21 = l_Lean_mkHole___closed__2;
|
||||
x_21 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
x_22 = lean_name_eq(x_18, x_21);
|
||||
lean_dec(x_18);
|
||||
if (x_22 == 0)
|
||||
|
|
@ -3895,7 +3895,7 @@ if (lean_obj_tag(x_1) == 1)
|
|||
lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12;
|
||||
x_9 = lean_ctor_get(x_1, 0);
|
||||
x_10 = lean_ctor_get(x_1, 1);
|
||||
x_11 = l_Lean_expandExplicitBindersAux_loop___closed__9;
|
||||
x_11 = l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
x_12 = lean_name_eq(x_9, x_11);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
|
|
@ -6406,7 +6406,7 @@ lean_ctor_set(x_36, 0, x_35);
|
|||
lean_ctor_set(x_36, 1, x_34);
|
||||
x_37 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
x_38 = lean_array_push(x_37, x_36);
|
||||
x_39 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_39 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_40 = lean_array_push(x_39, x_18);
|
||||
x_41 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_41, 0, x_35);
|
||||
|
|
@ -6462,7 +6462,7 @@ lean_ctor_set(x_69, 0, x_68);
|
|||
lean_ctor_set(x_69, 1, x_67);
|
||||
x_70 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
x_71 = lean_array_push(x_70, x_69);
|
||||
x_72 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_72 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_73 = lean_array_push(x_72, x_18);
|
||||
x_74 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_74, 0, x_68);
|
||||
|
|
@ -6794,7 +6794,7 @@ block_42:
|
|||
{
|
||||
lean_object* x_12; uint8_t x_13;
|
||||
lean_dec(x_11);
|
||||
x_12 = l_Lean_mkHole___closed__2;
|
||||
x_12 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
lean_inc(x_2);
|
||||
x_13 = l_Lean_Syntax_isOfKind(x_2, x_12);
|
||||
if (x_13 == 0)
|
||||
|
|
@ -7156,13 +7156,13 @@ if (x_49 == 0)
|
|||
{
|
||||
lean_object* x_50; uint8_t x_51;
|
||||
lean_dec(x_4);
|
||||
x_50 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_50 = l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
x_51 = lean_string_dec_eq(x_17, x_50);
|
||||
if (x_51 == 0)
|
||||
{
|
||||
lean_object* x_52; uint8_t x_53;
|
||||
lean_dec(x_5);
|
||||
x_52 = l_Lean_mkHole___closed__1;
|
||||
x_52 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_53 = lean_string_dec_eq(x_17, x_52);
|
||||
if (x_53 == 0)
|
||||
{
|
||||
|
|
@ -7372,13 +7372,13 @@ if (x_100 == 0)
|
|||
{
|
||||
lean_object* x_101; uint8_t x_102;
|
||||
lean_dec(x_4);
|
||||
x_101 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_101 = l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
x_102 = lean_string_dec_eq(x_17, x_101);
|
||||
if (x_102 == 0)
|
||||
{
|
||||
lean_object* x_103; uint8_t x_104;
|
||||
lean_dec(x_5);
|
||||
x_103 = l_Lean_mkHole___closed__1;
|
||||
x_103 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_104 = lean_string_dec_eq(x_17, x_103);
|
||||
if (x_104 == 0)
|
||||
{
|
||||
|
|
@ -7639,13 +7639,13 @@ if (x_160 == 0)
|
|||
{
|
||||
lean_object* x_161; uint8_t x_162;
|
||||
lean_dec(x_4);
|
||||
x_161 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_161 = l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
x_162 = lean_string_dec_eq(x_17, x_161);
|
||||
if (x_162 == 0)
|
||||
{
|
||||
lean_object* x_163; uint8_t x_164;
|
||||
lean_dec(x_5);
|
||||
x_163 = l_Lean_mkHole___closed__1;
|
||||
x_163 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_164 = lean_string_dec_eq(x_17, x_163);
|
||||
if (x_164 == 0)
|
||||
{
|
||||
|
|
@ -7940,13 +7940,13 @@ if (x_226 == 0)
|
|||
{
|
||||
lean_object* x_227; uint8_t x_228;
|
||||
lean_dec(x_4);
|
||||
x_227 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_227 = l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
x_228 = lean_string_dec_eq(x_17, x_227);
|
||||
if (x_228 == 0)
|
||||
{
|
||||
lean_object* x_229; uint8_t x_230;
|
||||
lean_dec(x_5);
|
||||
x_229 = l_Lean_mkHole___closed__1;
|
||||
x_229 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_230 = lean_string_dec_eq(x_17, x_229);
|
||||
if (x_230 == 0)
|
||||
{
|
||||
|
|
@ -8275,13 +8275,13 @@ if (x_298 == 0)
|
|||
{
|
||||
lean_object* x_299; uint8_t x_300;
|
||||
lean_dec(x_4);
|
||||
x_299 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_299 = l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
x_300 = lean_string_dec_eq(x_17, x_299);
|
||||
if (x_300 == 0)
|
||||
{
|
||||
lean_object* x_301; uint8_t x_302;
|
||||
lean_dec(x_5);
|
||||
x_301 = l_Lean_mkHole___closed__1;
|
||||
x_301 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_302 = lean_string_dec_eq(x_17, x_301);
|
||||
if (x_302 == 0)
|
||||
{
|
||||
|
|
@ -8642,13 +8642,13 @@ if (x_376 == 0)
|
|||
{
|
||||
lean_object* x_377; uint8_t x_378;
|
||||
lean_dec(x_4);
|
||||
x_377 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_377 = l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
x_378 = lean_string_dec_eq(x_340, x_377);
|
||||
if (x_378 == 0)
|
||||
{
|
||||
lean_object* x_379; uint8_t x_380;
|
||||
lean_dec(x_5);
|
||||
x_379 = l_Lean_mkHole___closed__1;
|
||||
x_379 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_380 = lean_string_dec_eq(x_340, x_379);
|
||||
if (x_380 == 0)
|
||||
{
|
||||
|
|
@ -10900,12 +10900,12 @@ x_809 = lean_string_dec_eq(x_200, x_808);
|
|||
if (x_809 == 0)
|
||||
{
|
||||
lean_object* x_810; uint8_t x_811;
|
||||
x_810 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_810 = l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
x_811 = lean_string_dec_eq(x_200, x_810);
|
||||
if (x_811 == 0)
|
||||
{
|
||||
lean_object* x_812; uint8_t x_813;
|
||||
x_812 = l_Lean_mkHole___closed__1;
|
||||
x_812 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_813 = lean_string_dec_eq(x_200, x_812);
|
||||
if (x_813 == 0)
|
||||
{
|
||||
|
|
@ -11365,7 +11365,7 @@ x_1021 = l_Lean_Syntax_getArg(x_1019, x_1017);
|
|||
lean_dec(x_1019);
|
||||
lean_inc(x_1021);
|
||||
x_1022 = l_Lean_Syntax_getKind(x_1021);
|
||||
x_1023 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_1023 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_1024 = lean_name_eq(x_1022, x_1023);
|
||||
lean_dec(x_1022);
|
||||
if (x_1024 == 0)
|
||||
|
|
@ -20819,9 +20819,9 @@ lean_inc(x_104);
|
|||
x_106 = lean_array_push(x_105, x_104);
|
||||
x_107 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18;
|
||||
x_108 = lean_array_push(x_106, x_107);
|
||||
x_109 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_109 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_110 = lean_array_push(x_109, x_90);
|
||||
x_111 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_111 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_112 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_112, 0, x_111);
|
||||
lean_ctor_set(x_112, 1, x_110);
|
||||
|
|
|
|||
114
stage0/stdlib/Lean/Elab/BuiltinNotation.c
generated
114
stage0/stdlib/Lean/Elab/BuiltinNotation.c
generated
|
|
@ -13,9 +13,9 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__9;
|
||||
lean_object* l_Lean_Elab_Term_expandAssert___closed__21;
|
||||
lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__7;
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__26;
|
||||
lean_object* l_Lean_Elab_Term_expandNot___closed__1;
|
||||
extern lean_object* l_Lean_Name_toString___closed__1;
|
||||
|
|
@ -33,7 +33,6 @@ lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__5;
|
|||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandNot___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__8;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2;
|
||||
lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_getRefPos___at_Lean_Elab_Term_elabPanic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkSort(lean_object*);
|
||||
|
|
@ -51,6 +50,7 @@ extern lean_object* l_Lean_nullKind;
|
|||
lean_object* l_Lean_Elab_Term_expandAssert___closed__10;
|
||||
extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__6;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_elabNativeRefl___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandEmptyC___closed__2;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_elabNativeRefl___closed__1;
|
||||
|
|
@ -90,7 +90,6 @@ lean_object* l_Lean_Elab_Term_expandUMinus___closed__3;
|
|||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12;
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_expandAssert___closed__12;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
lean_object* l_Lean_Elab_Term_expandAssert_match__1(lean_object*);
|
||||
lean_object* lean_environment_find(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandEmptyC___closed__8;
|
||||
|
|
@ -117,14 +116,12 @@ extern lean_object* l_Lean_Meta_mkAppM___rarg___closed__2;
|
|||
lean_object* l_Lean_Elab_Term_expandEmptyC___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_elabParen___closed__3;
|
||||
lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_elabNumLit___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__9;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandBNot___closed__1;
|
||||
lean_object* lean_expr_instantiate1(lean_object*, lean_object*);
|
||||
extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__18;
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__4;
|
||||
lean_object* l_Lean_Meta_mkExpectedTypeHint___at_Lean_Elab_Term_elabNativeRefl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabSubst___closed__5;
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__1;
|
||||
|
|
@ -166,7 +163,6 @@ lean_object* l_Lean_Meta_instantiateMVarsImp(lean_object*, lean_object*, lean_ob
|
|||
lean_object* l_Lean_Elab_Term_elabParen___closed__5;
|
||||
lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_expandShow___closed__1;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandDollar___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_expandSorry___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__18;
|
||||
|
|
@ -206,6 +202,7 @@ lean_object* l_Lean_Elab_Term_expandAssert_match__1___rarg(lean_object*, lean_ob
|
|||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__24;
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandHave(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__5;
|
||||
lean_object* l_Lean_Elab_Term_expandAssert___closed__22;
|
||||
lean_object* l_Lean_Syntax_mkApp(lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic(lean_object*);
|
||||
|
|
@ -251,7 +248,6 @@ lean_object* l_Lean_Elab_Term_expandShow___boxed(lean_object*, lean_object*, lea
|
|||
lean_object* l_Lean_Elab_Term_expandDbgTrace(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_elabNativeDecide___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__1;
|
||||
extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_elabSubst___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__10;
|
||||
|
|
@ -266,7 +262,6 @@ lean_object* l_Lean_Meta_kabstract___at_Lean_Elab_Term_elabSubst___spec__6(lean_
|
|||
lean_object* l_Lean_Elab_Term_expandUnreachable(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandEmptyC___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__6;
|
||||
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabDecide___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -280,7 +275,6 @@ lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__4;
|
|||
lean_object* l_Lean_Elab_Term_expandPrefixOp(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux_match__2(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandSorry___rarg___closed__5;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
lean_object* l_Lean_Elab_Term_expandEmptyC___closed__6;
|
||||
lean_object* l_Lean_Elab_Term_elabTParserMacro___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandSuffices(lean_object*);
|
||||
|
|
@ -348,7 +342,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_expandUMinus(lean_object*);
|
|||
lean_object* l_Lean_Meta_mkArrow___at_Lean_Elab_Term_elabStateRefT___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Literal_type___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__7;
|
||||
lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__1;
|
||||
|
|
@ -358,10 +351,10 @@ lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserM
|
|||
lean_object* l_Lean_Meta_mkEqRefl___at_Lean_Elab_Term_elabNativeDecide___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabNativeRefl___lambda__1___closed__8;
|
||||
uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__3;
|
||||
lean_object* l_Lean_Elab_Term_elabStateRefT___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_expandAssert___closed__13;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
lean_object* l_Lean_Elab_Term_expandSuffices___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_elabSubst___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandSuffices___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -382,6 +375,7 @@ lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandCDot(
|
|||
size_t lean_usize_of_nat(lean_object*);
|
||||
lean_object* l_Lean_Core_mkFreshUserName___at_Lean_Elab_Term_elabSubst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabDecide___boxed(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__8;
|
||||
lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__10;
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDecide___closed__4;
|
||||
lean_object* l_Lean_Elab_Term_elabSubst___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -427,6 +421,7 @@ lean_object* l_Lean_Elab_Term_elabPanic(lean_object*, lean_object*, lean_object*
|
|||
lean_object* l_Lean_Elab_Term_elabTParserMacro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__3;
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDecide___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__2___closed__3;
|
||||
lean_object* l___private_Lean_HeadIndex_0__Lean_Expr_headNumArgsAux(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabNativeRefl_match__1(lean_object*);
|
||||
|
|
@ -438,7 +433,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_expandShow(lean_object*);
|
|||
extern lean_object* l_Lean_Elab_macroAttribute;
|
||||
extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_elabParserMacro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_environment_main_module(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__5;
|
||||
|
|
@ -472,7 +466,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabSubst(lean_object*);
|
|||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandCDot___boxed__const__1;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandSorry(lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_elabNativeRefl___closed__3;
|
||||
lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__10;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__4;
|
||||
lean_object* l_Lean_Elab_Term_elabNativeRefl___lambda__1___closed__4;
|
||||
lean_object* l_Lean_Elab_Term_elabPanic_match__1(lean_object*);
|
||||
|
|
@ -516,6 +509,7 @@ lean_object* l_Lean_Elab_Term_expandAssert___closed__19;
|
|||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__9;
|
||||
lean_object* l_Lean_Elab_getRefPos___at_Lean_Elab_Term_elabPanic___spec__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Init_Data_Repr___instance__2___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandUMinus___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_elabSubst___closed__4;
|
||||
uint8_t l_Lean_Expr_hasLooseBVars(lean_object*);
|
||||
|
|
@ -531,8 +525,10 @@ extern lean_object* l_Lean_Init_Prelude___instance__73;
|
|||
lean_object* l_Lean_Elab_Term_expandUnreachable___boxed(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandUMinus___closed__3;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__1;
|
||||
lean_object* lean_expr_abstract(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDecide_match__1(lean_object*);
|
||||
extern lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2;
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandBNot___closed__3;
|
||||
lean_object* l_Lean_Elab_Term_elabBorrowed___closed__1;
|
||||
|
|
@ -554,6 +550,7 @@ lean_object* l_Lean_Elab_Term_expandInfix___boxed(lean_object*, lean_object*, le
|
|||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_hasCDot_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabStateRefT(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_mkPairs_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_elabSubst___spec__3___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__7;
|
||||
lean_object* l_Lean_Elab_Term_expandUnreachable___rarg___closed__1;
|
||||
|
|
@ -604,6 +601,7 @@ extern lean_object* l_Lean_levelOne;
|
|||
lean_object* l_Lean_Elab_Term_elabTParserMacro___lambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_expandAssert___closed__17;
|
||||
uint8_t l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_hasCDot(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__12;
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabSubst___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1887,9 +1885,9 @@ lean_inc(x_55);
|
|||
x_57 = lean_array_push(x_56, x_55);
|
||||
x_58 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18;
|
||||
x_59 = lean_array_push(x_57, x_58);
|
||||
x_60 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_60 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_61 = lean_array_push(x_60, x_15);
|
||||
x_62 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_62 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_63 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_63, 0, x_62);
|
||||
lean_ctor_set(x_63, 1, x_61);
|
||||
|
|
@ -2057,7 +2055,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__3;
|
||||
x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -2224,11 +2222,11 @@ x_307 = l_Lean_mkIdentFrom(x_11, x_306);
|
|||
lean_dec(x_11);
|
||||
x_308 = l_Array_empty___closed__1;
|
||||
x_309 = lean_array_push(x_308, x_307);
|
||||
x_310 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_310 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_311 = lean_array_push(x_309, x_310);
|
||||
x_312 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_312 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_313 = lean_array_push(x_312, x_192);
|
||||
x_314 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_314 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_315 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_315, 0, x_314);
|
||||
lean_ctor_set(x_315, 1, x_313);
|
||||
|
|
@ -2270,7 +2268,7 @@ block_246:
|
|||
{
|
||||
lean_object* x_196; uint8_t x_197;
|
||||
lean_dec(x_195);
|
||||
x_196 = l_myMacro____x40_Init_Tactics___hyg_508____closed__9;
|
||||
x_196 = l_myMacro____x40_Init_Tactics___hyg_508____closed__5;
|
||||
lean_inc(x_194);
|
||||
x_197 = l_Lean_Syntax_isOfKind(x_194, x_196);
|
||||
if (x_197 == 0)
|
||||
|
|
@ -2357,11 +2355,11 @@ x_218 = l_Lean_mkIdentFrom(x_11, x_217);
|
|||
lean_dec(x_11);
|
||||
x_219 = l_Array_empty___closed__1;
|
||||
x_220 = lean_array_push(x_219, x_218);
|
||||
x_221 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_221 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_222 = lean_array_push(x_220, x_221);
|
||||
x_223 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_223 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_224 = lean_array_push(x_223, x_192);
|
||||
x_225 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_225 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_226 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_226, 0, x_225);
|
||||
lean_ctor_set(x_226, 1, x_224);
|
||||
|
|
@ -2651,11 +2649,11 @@ x_154 = l_Lean_Syntax_getArg(x_11, x_153);
|
|||
lean_dec(x_11);
|
||||
x_155 = l_Array_empty___closed__1;
|
||||
x_156 = lean_array_push(x_155, x_36);
|
||||
x_157 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_157 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_158 = lean_array_push(x_156, x_157);
|
||||
x_159 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_159 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_160 = lean_array_push(x_159, x_37);
|
||||
x_161 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_161 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_162 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_162, 0, x_161);
|
||||
lean_ctor_set(x_162, 1, x_160);
|
||||
|
|
@ -2697,7 +2695,7 @@ block_89:
|
|||
{
|
||||
lean_object* x_41; uint8_t x_42;
|
||||
lean_dec(x_40);
|
||||
x_41 = l_myMacro____x40_Init_Tactics___hyg_508____closed__9;
|
||||
x_41 = l_myMacro____x40_Init_Tactics___hyg_508____closed__5;
|
||||
lean_inc(x_39);
|
||||
x_42 = l_Lean_Syntax_isOfKind(x_39, x_41);
|
||||
if (x_42 == 0)
|
||||
|
|
@ -2786,11 +2784,11 @@ x_61 = l_Lean_Syntax_getArg(x_11, x_60);
|
|||
lean_dec(x_11);
|
||||
x_62 = l_Array_empty___closed__1;
|
||||
x_63 = lean_array_push(x_62, x_36);
|
||||
x_64 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_64 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_65 = lean_array_push(x_63, x_64);
|
||||
x_66 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_66 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_67 = lean_array_push(x_66, x_37);
|
||||
x_68 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_68 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_69 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_69, 0, x_68);
|
||||
lean_ctor_set(x_69, 1, x_67);
|
||||
|
|
@ -2929,7 +2927,7 @@ x_113 = l_Lean_Syntax_getArg(x_11, x_112);
|
|||
lean_dec(x_11);
|
||||
x_114 = l_Array_empty___closed__1;
|
||||
x_115 = lean_array_push(x_114, x_36);
|
||||
x_116 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_116 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_117 = lean_array_push(x_115, x_116);
|
||||
x_118 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_118, 0, x_25);
|
||||
|
|
@ -3461,7 +3459,7 @@ x_107 = l_Lean_Syntax_getArg(x_11, x_106);
|
|||
lean_dec(x_11);
|
||||
x_108 = l_Array_empty___closed__1;
|
||||
x_109 = lean_array_push(x_108, x_36);
|
||||
x_110 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_110 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_111 = lean_array_push(x_109, x_110);
|
||||
x_112 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_112, 0, x_25);
|
||||
|
|
@ -3602,7 +3600,7 @@ x_65 = l_Lean_Syntax_getArg(x_11, x_64);
|
|||
lean_dec(x_11);
|
||||
x_66 = l_Array_empty___closed__1;
|
||||
x_67 = lean_array_push(x_66, x_36);
|
||||
x_68 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_68 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_69 = lean_array_push(x_67, x_68);
|
||||
x_70 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_70, 0, x_25);
|
||||
|
|
@ -8508,7 +8506,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_expandAssert___closed__23;
|
||||
x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2;
|
||||
x_2 = l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -8716,30 +8714,6 @@ static lean_object* _init_l_Lean_Elab_Term_expandDbgTrace___closed__7() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__6;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_expandDbgTrace___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Elab_Term_expandDbgTrace___closed__7;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_expandDbgTrace___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_2 = l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__7;
|
||||
x_3 = lean_alloc_ctor(2, 2, 0);
|
||||
|
|
@ -8748,12 +8722,12 @@ lean_ctor_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_expandDbgTrace___closed__10() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_expandDbgTrace___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Array_empty___closed__1;
|
||||
x_2 = l_Lean_Elab_Term_expandDbgTrace___closed__9;
|
||||
x_2 = l_Lean_Elab_Term_expandDbgTrace___closed__7;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -8793,10 +8767,10 @@ lean_ctor_set(x_18, 2, x_14);
|
|||
lean_ctor_set(x_18, 3, x_17);
|
||||
x_19 = l_Array_empty___closed__1;
|
||||
x_20 = lean_array_push(x_19, x_18);
|
||||
x_21 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__4;
|
||||
x_21 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__8;
|
||||
x_22 = l_Lean_addMacroScope(x_12, x_21, x_11);
|
||||
x_23 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__3;
|
||||
x_24 = l_Lean_Elab_Term_expandDbgTrace___closed__8;
|
||||
x_23 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__7;
|
||||
x_24 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__12;
|
||||
x_25 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_25, 0, x_15);
|
||||
lean_ctor_set(x_25, 1, x_23);
|
||||
|
|
@ -8828,7 +8802,7 @@ x_42 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_42, 0, x_41);
|
||||
lean_ctor_set(x_42, 1, x_40);
|
||||
x_43 = lean_array_push(x_19, x_42);
|
||||
x_44 = l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
x_44 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_45 = lean_array_push(x_44, x_7);
|
||||
x_46 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15;
|
||||
x_47 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -8873,7 +8847,7 @@ lean_ctor_set(x_64, 2, x_60);
|
|||
lean_ctor_set(x_64, 3, x_63);
|
||||
x_65 = l_Array_empty___closed__1;
|
||||
x_66 = lean_array_push(x_65, x_64);
|
||||
x_67 = l_Lean_Elab_Term_expandDbgTrace___closed__10;
|
||||
x_67 = l_Lean_Elab_Term_expandDbgTrace___closed__8;
|
||||
x_68 = lean_array_push(x_67, x_5);
|
||||
x_69 = l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__6;
|
||||
x_70 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -8895,7 +8869,7 @@ x_81 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_81, 0, x_80);
|
||||
lean_ctor_set(x_81, 1, x_79);
|
||||
x_82 = lean_array_push(x_65, x_81);
|
||||
x_83 = l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
x_83 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_84 = lean_array_push(x_83, x_7);
|
||||
x_85 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15;
|
||||
x_86 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -9087,7 +9061,7 @@ lean_ctor_set(x_17, 0, x_7);
|
|||
lean_ctor_set(x_17, 1, x_15);
|
||||
lean_ctor_set(x_17, 2, x_14);
|
||||
lean_ctor_set(x_17, 3, x_16);
|
||||
x_18 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_18 = l_Lean_expandExplicitBindersAux_loop___closed__1;
|
||||
x_19 = lean_array_push(x_18, x_17);
|
||||
x_20 = l_Lean_nullKind___closed__2;
|
||||
x_21 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -10809,7 +10783,7 @@ lean_object* x_70; lean_object* x_71; lean_object* x_133; uint8_t x_134;
|
|||
lean_dec(x_64);
|
||||
x_70 = l_Lean_Syntax_getArg(x_59, x_57);
|
||||
lean_dec(x_59);
|
||||
x_133 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_133 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
lean_inc(x_70);
|
||||
x_134 = l_Lean_Syntax_isOfKind(x_70, x_133);
|
||||
if (x_134 == 0)
|
||||
|
|
@ -15595,10 +15569,6 @@ l_Lean_Elab_Term_expandDbgTrace___closed__7 = _init_l_Lean_Elab_Term_expandDbgTr
|
|||
lean_mark_persistent(l_Lean_Elab_Term_expandDbgTrace___closed__7);
|
||||
l_Lean_Elab_Term_expandDbgTrace___closed__8 = _init_l_Lean_Elab_Term_expandDbgTrace___closed__8();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_expandDbgTrace___closed__8);
|
||||
l_Lean_Elab_Term_expandDbgTrace___closed__9 = _init_l_Lean_Elab_Term_expandDbgTrace___closed__9();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_expandDbgTrace___closed__9);
|
||||
l_Lean_Elab_Term_expandDbgTrace___closed__10 = _init_l_Lean_Elab_Term_expandDbgTrace___closed__10();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_expandDbgTrace___closed__10);
|
||||
l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__1);
|
||||
l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__2();
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Elab/Command.c
generated
6
stage0/stdlib/Lean/Elab/Command.c
generated
|
|
@ -317,7 +317,6 @@ lean_object* l_Lean_Elab_Command_Lean_Elab_Command___instance__11___closed__2;
|
|||
lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__9;
|
||||
lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_head_x21___at_Lean_Elab_Command_Lean_Elab_Command___instance__4___spec__1___boxed(lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -668,6 +667,7 @@ lean_object* l_Lean_Elab_Command_expandInCmd___closed__1;
|
|||
extern lean_object* l_Init_Data_Repr___instance__2___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_getLevelNames(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabVariable___lambda__2___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
lean_object* l_Lean_Elab_Command_Context_currMacroScope___default;
|
||||
lean_object* l_Lean_Elab_Command_elabEvalUnsafe_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__3;
|
||||
|
|
@ -21467,7 +21467,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_expandInCmd___closed__2;
|
||||
x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -21521,7 +21521,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_expandInCmd___closed__7;
|
||||
x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/DeclModifiers.c
generated
4
stage0/stdlib/Lean/Elab/DeclModifiers.c
generated
|
|
@ -49,6 +49,7 @@ lean_object* lean_private_to_user_name(lean_object*);
|
|||
lean_object* l_Lean_Elab_Lean_Elab_DeclModifiers___instance__2___closed__9;
|
||||
lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_checkNotAlreadyDeclared_match__1(lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
extern lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
|
|
@ -197,7 +198,6 @@ lean_object* l_Lean_Elab_mkDeclName___rarg___closed__1;
|
|||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Lean_Elab_DeclModifiers___instance__2___closed__4;
|
||||
lean_object* l_Lean_Elab_Lean_Elab_DeclModifiers___instance__1___boxed(lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
lean_object* l_Lean_Elab_checkNotAlreadyDeclared(lean_object*);
|
||||
lean_object* l_Lean_Elab_expandDeclId(lean_object*);
|
||||
uint8_t l_Lean_Elab_isFreshInstanceName(lean_object*);
|
||||
|
|
@ -1154,7 +1154,7 @@ static lean_object* _init_l_Lean_Elab_Lean_Elab_DeclModifiers___instance__2___cl
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
|
|||
26
stage0/stdlib/Lean/Elab/Declaration.c
generated
26
stage0/stdlib/Lean/Elab/Declaration.c
generated
|
|
@ -112,7 +112,6 @@ lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration___closed__1;
|
|||
extern lean_object* l_Lean_Elab_Command_expandInCmd___closed__7;
|
||||
lean_object* l_Lean_Meta_instantiateMVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addNamespace___closed__1;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_elabMutualInductive___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__2;
|
||||
|
|
@ -143,7 +142,6 @@ lean_object* l_Lean_Elab_Term_levelMVarToParam(lean_object*, lean_object*, lean_
|
|||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabAxiom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__3;
|
||||
extern lean_object* l_Lean_Elab_Command_isDefLike___closed__2;
|
||||
lean_object* l_Lean_Elab_Command_expandMutualNamespace___closed__1;
|
||||
|
|
@ -196,7 +194,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8;
|
|||
lean_object* l_Lean_Elab_Command_expandInitCmd___closed__21;
|
||||
lean_object* l_Lean_Elab_Command_expandMutualElement___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_expandMutualPreamble___closed__1;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
lean_object* l_Lean_Elab_Command_expandMutualPreamble___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabMutual___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandInitCmd___closed__38;
|
||||
|
|
@ -247,6 +244,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualNamespa
|
|||
extern lean_object* l_Lean_resolveGlobalConstNoOverload___rarg___lambda__1___closed__1;
|
||||
lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandInitCmd___closed__27;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_expandInitCmd___closed__4;
|
||||
extern lean_object* l_Lean_resolveGlobalConstNoOverload___rarg___lambda__1___closed__2;
|
||||
|
|
@ -301,6 +299,7 @@ lean_object* l_Lean_Elab_Command_expandInitCmd___closed__18;
|
|||
lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Macro_expandMacro_x3fImp(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__4(uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MetavarContext_MkBinding_mkBinding(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandInitCmd___closed__6;
|
||||
|
|
@ -320,6 +319,7 @@ uint8_t l_Lean_Elab_Modifiers_isPrivate(lean_object*);
|
|||
lean_object* l_Lean_Elab_Command_elabDeclaration_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandInitCmd___closed__40;
|
||||
lean_object* l_Lean_Elab_Command_expandInitCmd___closed__9;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
lean_object* l_Lean_Elab_Command_expandInitCmd___closed__8;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkForallUsedOnly___at_Lean_Elab_Command_elabAxiom___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -6715,7 +6715,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_evalIntro___closed__5;
|
||||
x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -6725,7 +6725,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_expandInitCmd___closed__3;
|
||||
x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -6735,7 +6735,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_expandInitCmd___closed__4;
|
||||
x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -6745,7 +6745,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_expandInitCmd___closed__5;
|
||||
x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -6755,7 +6755,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_expandInitCmd___closed__6;
|
||||
x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -7160,7 +7160,7 @@ lean_ctor_set(x_23, 2, x_19);
|
|||
lean_ctor_set(x_23, 3, x_20);
|
||||
x_24 = l_Array_empty___closed__1;
|
||||
x_25 = lean_array_push(x_24, x_23);
|
||||
x_26 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_26 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
lean_inc(x_25);
|
||||
x_27 = lean_array_push(x_25, x_26);
|
||||
x_28 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__3;
|
||||
|
|
@ -7190,9 +7190,9 @@ x_42 = l_myMacro____x40_Init_Notation___hyg_38____closed__8;
|
|||
x_43 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_43, 0, x_42);
|
||||
lean_ctor_set(x_43, 1, x_41);
|
||||
x_44 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_44 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_45 = lean_array_push(x_44, x_43);
|
||||
x_46 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_46 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_47 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_47, 0, x_46);
|
||||
lean_ctor_set(x_47, 1, x_45);
|
||||
|
|
@ -7391,9 +7391,9 @@ x_164 = l_myMacro____x40_Init_Notation___hyg_38____closed__8;
|
|||
x_165 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_165, 0, x_164);
|
||||
lean_ctor_set(x_165, 1, x_163);
|
||||
x_166 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_166 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_167 = lean_array_push(x_166, x_165);
|
||||
x_168 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_168 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_169 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_169, 0, x_168);
|
||||
lean_ctor_set(x_169, 1, x_167);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/DefView.c
generated
4
stage0/stdlib/Lean/Elab/DefView.c
generated
|
|
@ -15,7 +15,6 @@ extern "C" {
|
|||
#endif
|
||||
lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_expandOptDeclSig(lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
lean_object* l_Lean_Elab_Command_mkDefView___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_DefKind_isExample_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -115,6 +114,7 @@ lean_object* l_Lean_Elab_Command_isDefLike___closed__5;
|
|||
lean_object* l_Lean_Elab_DefKind_isExample___boxed(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_DefKind_isTheorem_match__1___rarg(uint8_t, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__2;
|
||||
lean_object* l_Lean_Elab_Command_mkDefView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefView___closed__1;
|
||||
extern lean_object* l_Lean_Meta_mkArbitrary___rarg___closed__1;
|
||||
|
|
@ -886,7 +886,7 @@ lean_ctor_set(x_25, 2, x_21);
|
|||
lean_ctor_set(x_25, 3, x_24);
|
||||
x_26 = l_Array_empty___closed__1;
|
||||
x_27 = lean_array_push(x_26, x_25);
|
||||
x_28 = l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
x_28 = l_Lean_expandExplicitBindersAux_loop___closed__2;
|
||||
x_29 = lean_array_push(x_27, x_28);
|
||||
x_30 = l_myMacro____x40_Init_Notation___hyg_38____closed__8;
|
||||
x_31 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
|
|||
90
stage0/stdlib/Lean/Elab/Do.c
generated
90
stage0/stdlib/Lean/Elab/Do.c
generated
|
|
@ -44,7 +44,6 @@ extern lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21;
|
|||
lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__9;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandTermUnless___closed__1;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
lean_object* l_Lean_Expr_mvarId_x21(lean_object*);
|
||||
uint8_t l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinue___spec__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___lambda__1(lean_object*, lean_object*);
|
||||
|
|
@ -85,6 +84,7 @@ extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____c
|
|||
lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__21;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTermCore(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__38;
|
||||
|
|
@ -287,7 +287,6 @@ lean_object* l_Lean_Elab_Term_Do_eraseVars(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6___boxed(lean_object**);
|
||||
lean_object* l_Lean_Elab_Term_expandTermReturn___boxed(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
lean_object* l_Lean_Elab_Term_Do_mkFreshJP___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethod(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3___closed__3;
|
||||
|
|
@ -435,6 +434,7 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_Kind_isRegular_match__1___rarg___boxed(l
|
|||
lean_object* l_Lean_Elab_Term_Do_eraseVars___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandTermTry___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__16;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__42;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___closed__1;
|
||||
|
|
@ -494,7 +494,6 @@ lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux_match__1___rarg(lean_object*,
|
|||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__7;
|
||||
lean_object* l_Lean_Syntax_setKind(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
lean_object* l_Std_RBNode_appendTrees___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__7;
|
||||
|
|
@ -530,7 +529,6 @@ lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode(lean_object*, lean_objec
|
|||
extern lean_object* l_Lean_strLitKind___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_Do_hasTerminalAction_match__1(lean_object*);
|
||||
extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_expandTermTry___boxed(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__3;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6___closed__3;
|
||||
|
|
@ -625,7 +623,6 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__7;
|
|||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode___boxed__const__1;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_mkNestedKind___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__1;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_getLetEqnsDeclVar___boxed(lean_object*);
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -789,6 +786,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlo
|
|||
lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__16;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__3;
|
||||
lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_match__2(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___boxed(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__1;
|
||||
|
|
@ -814,7 +812,6 @@ extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec_
|
|||
lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__4;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPointCore___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__12;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore_match__1(lean_object*);
|
||||
|
|
@ -883,6 +880,7 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__7;
|
|||
uint8_t l_Std_RBNode_any___at_Lean_Elab_Term_Do_extendUpdatedVars___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabLiftMethod___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__4;
|
||||
lean_object* l_Lean_Elab_Term_Do_concat_match__2(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__2___closed__1;
|
||||
|
|
@ -898,7 +896,6 @@ lean_object* l_Lean_Elab_Term_Do_getLetEqnsDeclVar(lean_object*);
|
|||
lean_object* l_Lean_Elab_Term_Do_concat___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__26;
|
||||
lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__1;
|
||||
extern lean_object* l_Lean_mkHole___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_Do_hasTerminalAction_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__5;
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -945,6 +942,7 @@ lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_getTryCatchUpdatedVars_match__1(lea
|
|||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabLiftMethod(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__19;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6759____closed__4;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_match__1(lean_object*);
|
||||
|
|
@ -1006,6 +1004,7 @@ lean_object* l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___boxed__const__1;
|
|||
lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_Context_mutableVars___default;
|
||||
lean_object* l_Lean_Elab_Term_Do_mkReturn(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_Do_mkReassignCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__7;
|
||||
|
|
@ -1052,6 +1051,7 @@ lean_object* l_Lean_Elab_Term_Do_concat___lambda__1(lean_object*, lean_object*,
|
|||
lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethod_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__2___rarg(lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__31;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_Lean_Elab_Do___instance__1___closed__1;
|
||||
|
|
@ -1065,6 +1065,7 @@ lean_object* l_Lean_Elab_Term_Do_insertVars___boxed(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__3;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__15;
|
||||
extern lean_object* l_Lean_mkOptionalNode___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__5;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__35;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__39;
|
||||
|
|
@ -1186,7 +1187,6 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__7;
|
|||
lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkMonadAlias___closed__5;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__6;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__16;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3;
|
||||
extern lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__19;
|
||||
|
|
@ -23569,9 +23569,9 @@ lean_ctor_set(x_161, 0, x_150);
|
|||
lean_ctor_set(x_161, 1, x_159);
|
||||
lean_ctor_set(x_161, 2, x_158);
|
||||
lean_ctor_set(x_161, 3, x_160);
|
||||
x_162 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_162 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_163 = lean_array_push(x_162, x_161);
|
||||
x_164 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_164 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_165 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_165, 0, x_164);
|
||||
lean_ctor_set(x_165, 1, x_163);
|
||||
|
|
@ -23580,7 +23580,7 @@ x_167 = l_Lean_nullKind___closed__2;
|
|||
x_168 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_168, 0, x_167);
|
||||
lean_ctor_set(x_168, 1, x_166);
|
||||
x_169 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_169 = l_Lean_expandExplicitBindersAux_loop___closed__1;
|
||||
x_170 = lean_array_push(x_169, x_168);
|
||||
x_171 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_171, 0, x_167);
|
||||
|
|
@ -23706,9 +23706,9 @@ lean_ctor_set(x_237, 0, x_226);
|
|||
lean_ctor_set(x_237, 1, x_235);
|
||||
lean_ctor_set(x_237, 2, x_234);
|
||||
lean_ctor_set(x_237, 3, x_236);
|
||||
x_238 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_238 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_239 = lean_array_push(x_238, x_237);
|
||||
x_240 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_240 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_241 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_241, 0, x_240);
|
||||
lean_ctor_set(x_241, 1, x_239);
|
||||
|
|
@ -23717,7 +23717,7 @@ x_243 = l_Lean_nullKind___closed__2;
|
|||
x_244 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_244, 0, x_243);
|
||||
lean_ctor_set(x_244, 1, x_242);
|
||||
x_245 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_245 = l_Lean_expandExplicitBindersAux_loop___closed__1;
|
||||
x_246 = lean_array_push(x_245, x_244);
|
||||
x_247 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_247, 0, x_243);
|
||||
|
|
@ -23848,9 +23848,9 @@ lean_ctor_set(x_314, 0, x_303);
|
|||
lean_ctor_set(x_314, 1, x_312);
|
||||
lean_ctor_set(x_314, 2, x_311);
|
||||
lean_ctor_set(x_314, 3, x_313);
|
||||
x_315 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_315 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_316 = lean_array_push(x_315, x_314);
|
||||
x_317 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_317 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_318 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_318, 0, x_317);
|
||||
lean_ctor_set(x_318, 1, x_316);
|
||||
|
|
@ -23859,7 +23859,7 @@ x_320 = l_Lean_nullKind___closed__2;
|
|||
x_321 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_321, 0, x_320);
|
||||
lean_ctor_set(x_321, 1, x_319);
|
||||
x_322 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_322 = l_Lean_expandExplicitBindersAux_loop___closed__1;
|
||||
x_323 = lean_array_push(x_322, x_321);
|
||||
x_324 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_324, 0, x_320);
|
||||
|
|
@ -24027,9 +24027,9 @@ lean_ctor_set(x_412, 0, x_401);
|
|||
lean_ctor_set(x_412, 1, x_410);
|
||||
lean_ctor_set(x_412, 2, x_409);
|
||||
lean_ctor_set(x_412, 3, x_411);
|
||||
x_413 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_413 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_414 = lean_array_push(x_413, x_412);
|
||||
x_415 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_415 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_416 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_416, 0, x_415);
|
||||
lean_ctor_set(x_416, 1, x_414);
|
||||
|
|
@ -24038,7 +24038,7 @@ x_418 = l_Lean_nullKind___closed__2;
|
|||
x_419 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_419, 0, x_418);
|
||||
lean_ctor_set(x_419, 1, x_417);
|
||||
x_420 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_420 = l_Lean_expandExplicitBindersAux_loop___closed__1;
|
||||
x_421 = lean_array_push(x_420, x_419);
|
||||
x_422 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_422, 0, x_418);
|
||||
|
|
@ -25202,9 +25202,9 @@ lean_ctor_set(x_1017, 0, x_1006);
|
|||
lean_ctor_set(x_1017, 1, x_1015);
|
||||
lean_ctor_set(x_1017, 2, x_1014);
|
||||
lean_ctor_set(x_1017, 3, x_1016);
|
||||
x_1018 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_1018 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_1019 = lean_array_push(x_1018, x_1017);
|
||||
x_1020 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_1020 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_1021 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_1021, 0, x_1020);
|
||||
lean_ctor_set(x_1021, 1, x_1019);
|
||||
|
|
@ -25213,7 +25213,7 @@ x_1023 = l_Lean_nullKind___closed__2;
|
|||
x_1024 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_1024, 0, x_1023);
|
||||
lean_ctor_set(x_1024, 1, x_1022);
|
||||
x_1025 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_1025 = l_Lean_expandExplicitBindersAux_loop___closed__1;
|
||||
x_1026 = lean_array_push(x_1025, x_1024);
|
||||
x_1027 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_1027, 0, x_1023);
|
||||
|
|
@ -25354,9 +25354,9 @@ lean_ctor_set(x_1095, 0, x_1084);
|
|||
lean_ctor_set(x_1095, 1, x_1093);
|
||||
lean_ctor_set(x_1095, 2, x_1092);
|
||||
lean_ctor_set(x_1095, 3, x_1094);
|
||||
x_1096 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_1096 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_1097 = lean_array_push(x_1096, x_1095);
|
||||
x_1098 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_1098 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_1099 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_1099, 0, x_1098);
|
||||
lean_ctor_set(x_1099, 1, x_1097);
|
||||
|
|
@ -25365,7 +25365,7 @@ x_1101 = l_Lean_nullKind___closed__2;
|
|||
x_1102 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_1102, 0, x_1101);
|
||||
lean_ctor_set(x_1102, 1, x_1100);
|
||||
x_1103 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_1103 = l_Lean_expandExplicitBindersAux_loop___closed__1;
|
||||
x_1104 = lean_array_push(x_1103, x_1102);
|
||||
x_1105 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_1105, 0, x_1101);
|
||||
|
|
@ -26172,7 +26172,7 @@ lean_ctor_set(x_18, 3, x_17);
|
|||
x_19 = l_Array_empty___closed__1;
|
||||
x_20 = lean_array_push(x_19, x_18);
|
||||
x_21 = lean_array_push(x_19, x_1);
|
||||
x_22 = l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
x_22 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_23 = lean_array_push(x_22, x_2);
|
||||
x_24 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15;
|
||||
x_25 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -26534,9 +26534,9 @@ x_52 = l_Array_empty___closed__1;
|
|||
x_53 = lean_array_push(x_52, x_51);
|
||||
x_54 = lean_array_push(x_52, x_45);
|
||||
x_55 = lean_array_push(x_52, x_37);
|
||||
x_56 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_56 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_57 = lean_array_push(x_56, x_39);
|
||||
x_58 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_58 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_59 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_59, 0, x_58);
|
||||
lean_ctor_set(x_59, 1, x_57);
|
||||
|
|
@ -26767,9 +26767,9 @@ x_152 = l_Array_empty___closed__1;
|
|||
x_153 = lean_array_push(x_152, x_151);
|
||||
x_154 = lean_array_push(x_152, x_145);
|
||||
x_155 = lean_array_push(x_152, x_137);
|
||||
x_156 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_156 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_157 = lean_array_push(x_156, x_139);
|
||||
x_158 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_158 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_159 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_159, 0, x_158);
|
||||
lean_ctor_set(x_159, 1, x_157);
|
||||
|
|
@ -27416,7 +27416,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPointCor
|
|||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 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;
|
||||
x_7 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_7 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
x_8 = l_Lean_mkAtomFrom(x_1, x_7);
|
||||
x_9 = l_Lean_Syntax_mkApp___closed__1;
|
||||
x_10 = lean_array_push(x_9, x_8);
|
||||
|
|
@ -27513,7 +27513,7 @@ lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean
|
|||
x_17 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_14);
|
||||
x_18 = l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
x_18 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPointCore___spec__1___lambda__1(x_1, x_17, x_18, x_5, x_6, x_7);
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_20);
|
||||
|
|
@ -27633,7 +27633,7 @@ lean_inc(x_22);
|
|||
lean_dec(x_5);
|
||||
x_23 = l_Array_empty___closed__1;
|
||||
x_24 = lean_array_push(x_23, x_22);
|
||||
x_25 = l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
x_25 = l_Lean_expandExplicitBindersAux_loop___closed__2;
|
||||
x_26 = lean_array_push(x_24, x_25);
|
||||
x_27 = l_myMacro____x40_Init_Notation___hyg_38____closed__8;
|
||||
x_28 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -27648,9 +27648,9 @@ x_33 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_33, 0, x_32);
|
||||
lean_ctor_set(x_33, 1, x_31);
|
||||
x_34 = lean_array_push(x_30, x_33);
|
||||
x_35 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_35 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_36 = lean_array_push(x_35, x_28);
|
||||
x_37 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_37 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_38 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_38, 0, x_37);
|
||||
lean_ctor_set(x_38, 1, x_36);
|
||||
|
|
@ -27696,7 +27696,7 @@ lean_inc(x_59);
|
|||
lean_dec(x_5);
|
||||
x_60 = l_Array_empty___closed__1;
|
||||
x_61 = lean_array_push(x_60, x_59);
|
||||
x_62 = l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
x_62 = l_Lean_expandExplicitBindersAux_loop___closed__2;
|
||||
x_63 = lean_array_push(x_61, x_62);
|
||||
x_64 = l_myMacro____x40_Init_Notation___hyg_38____closed__8;
|
||||
x_65 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -27711,9 +27711,9 @@ x_70 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_70, 0, x_69);
|
||||
lean_ctor_set(x_70, 1, x_68);
|
||||
x_71 = lean_array_push(x_67, x_70);
|
||||
x_72 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_72 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_73 = lean_array_push(x_72, x_65);
|
||||
x_74 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_74 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_75 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_75, 0, x_74);
|
||||
lean_ctor_set(x_75, 1, x_73);
|
||||
|
|
@ -27820,7 +27820,7 @@ lean_inc(x_110);
|
|||
lean_dec(x_5);
|
||||
x_111 = l_Array_empty___closed__1;
|
||||
x_112 = lean_array_push(x_111, x_110);
|
||||
x_113 = l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
x_113 = l_Lean_expandExplicitBindersAux_loop___closed__2;
|
||||
x_114 = lean_array_push(x_112, x_113);
|
||||
x_115 = l_myMacro____x40_Init_Notation___hyg_38____closed__8;
|
||||
x_116 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -27835,9 +27835,9 @@ x_121 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_121, 0, x_120);
|
||||
lean_ctor_set(x_121, 1, x_119);
|
||||
x_122 = lean_array_push(x_118, x_121);
|
||||
x_123 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_123 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_124 = lean_array_push(x_123, x_116);
|
||||
x_125 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_125 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_126 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_126, 0, x_125);
|
||||
lean_ctor_set(x_126, 1, x_124);
|
||||
|
|
@ -36222,9 +36222,9 @@ lean_ctor_set(x_83, 1, x_82);
|
|||
x_84 = lean_array_push(x_42, x_83);
|
||||
x_85 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13;
|
||||
x_86 = lean_array_push(x_84, x_85);
|
||||
x_87 = l_Lean_mkHole___closed__1;
|
||||
x_87 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_88 = lean_name_mk_string(x_3, x_87);
|
||||
x_89 = l_Lean_expandExplicitBindersAux_loop___closed__2;
|
||||
x_89 = l_myMacro____x40_Init_Notation___hyg_7262____closed__16;
|
||||
x_90 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_90, 0, x_88);
|
||||
lean_ctor_set(x_90, 1, x_89);
|
||||
|
|
@ -39875,7 +39875,7 @@ lean_ctor_set(x_269, 0, x_268);
|
|||
lean_ctor_set(x_269, 1, x_267);
|
||||
x_270 = lean_array_push(x_228, x_269);
|
||||
x_271 = lean_array_push(x_228, x_13);
|
||||
x_272 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_272 = l_Lean_expandExplicitBindersAux_loop___closed__1;
|
||||
lean_inc(x_32);
|
||||
x_273 = lean_array_push(x_272, x_32);
|
||||
x_274 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Level.c
generated
4
stage0/stdlib/Lean/Elab/Level.c
generated
|
|
@ -87,8 +87,8 @@ lean_object* l_Lean_Syntax_getKind(lean_object*);
|
|||
lean_object* l_Lean_Elab_Level_elabLevel___closed__14;
|
||||
lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_Level_elabLevel___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkFreshId___at_Lean_Elab_Level_mkFreshLevelMVar___spec__1___boxed(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
lean_object* l_Lean_Elab_Level_elabLevel___closed__3;
|
||||
extern lean_object* l_Lean_mkHole___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__4;
|
||||
lean_object* lean_name_mk_numeral(lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_bind___at_Lean_Elab_Level_Lean_Elab_Level___instance__1___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -891,7 +891,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Level_elabLevel___closed__2;
|
||||
x_2 = l_Lean_mkHole___closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
|
|||
48
stage0/stdlib/Lean/Elab/Match.c
generated
48
stage0/stdlib/Lean/Elab/Match.c
generated
|
|
@ -72,6 +72,7 @@ extern lean_object* l_Lean_nullKind;
|
|||
extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__6;
|
||||
lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
lean_object* l_Lean_Elab_Term_elabMatch_match__25(lean_object*);
|
||||
lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabMatch_match__12___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -241,7 +242,6 @@ lean_object* l_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___lambda
|
|||
lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isAuxDiscrName___closed__2;
|
||||
lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__3;
|
||||
|
|
@ -474,7 +474,6 @@ lean_object* l_Lean_Elab_Term_elabMatch_match__26(lean_object*);
|
|||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__19;
|
||||
lean_object* l_Lean_Elab_Term_CollectPatternVars_resolveId_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_withDepElimPatterns___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorAppAux_match__2(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux_match__1___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -578,6 +577,7 @@ lean_object* l_Lean_Elab_Term_elabMVarWithIdKind___boxed(lean_object*, lean_obje
|
|||
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_mkFreshBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchCore___spec__1(size_t, size_t, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkUserNameFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabMatch_match__1(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getSepArgs(lean_object*);
|
||||
|
|
@ -597,7 +597,6 @@ extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec_
|
|||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Lean_Elab_Match___instance__1_match__1(lean_object*);
|
||||
lean_object* l_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_environment_main_module(lean_object*);
|
||||
|
|
@ -741,7 +740,6 @@ lean_object* l_Lean_Elab_Term_ToDepElimPattern_main_match__1___rarg(lean_object*
|
|||
lean_object* l_Lean_Elab_Term_elabMatchAltView___closed__1;
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_mkHole___closed__2;
|
||||
uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_ToDepElimPattern_main___spec__5(lean_object*, lean_object*, size_t, size_t);
|
||||
lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__7;
|
||||
lean_object* l_Lean_Meta_inferType___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -762,11 +760,13 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_pr
|
|||
uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___spec__4___rarg(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_expandExplicitBindersAux_loop___closed__8;
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__1___closed__3;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_processExplicitArg___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_CollectPatternVars_main___boxed__const__1;
|
||||
extern lean_object* l_Lean_mkOptionalNode___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withDepElimPatterns___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns_match__3___rarg(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_mod(lean_object*, lean_object*);
|
||||
|
|
@ -781,6 +781,7 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_th
|
|||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__3;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_quoteName___closed__3;
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__6;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
lean_object* l_Lean_Elab_Term_withDepElimPatterns_match__1(lean_object*);
|
||||
lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_CollectPatternVars_processCtorApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -884,7 +885,6 @@ lean_object* l_Lean_Elab_Term_Lean_Elab_Match___instance__1(lean_object*);
|
|||
lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__1;
|
||||
lean_object* l_Lean_Meta_Match_Pattern_toExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
lean_object* l_Lean_Elab_Term_elabMatch_match__23___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__1;
|
||||
|
|
@ -1040,9 +1040,9 @@ x_18 = l_Array_empty___closed__1;
|
|||
x_19 = lean_array_push(x_18, x_3);
|
||||
x_20 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18;
|
||||
x_21 = lean_array_push(x_19, x_20);
|
||||
x_22 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_22 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_23 = lean_array_push(x_22, x_4);
|
||||
x_24 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_24 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_25 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_25, 0, x_24);
|
||||
lean_ctor_set(x_25, 1, x_23);
|
||||
|
|
@ -6156,7 +6156,7 @@ static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectP
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -8970,7 +8970,7 @@ x_49 = lean_array_push(x_47, x_33);
|
|||
x_50 = l_Lean_Syntax_mkStrLit(x_31, x_43);
|
||||
lean_dec(x_31);
|
||||
x_51 = lean_array_push(x_49, x_50);
|
||||
x_52 = l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
x_52 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
x_53 = lean_array_push(x_51, x_52);
|
||||
x_54 = l_Lean_nullKind___closed__2;
|
||||
x_55 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -9008,7 +9008,7 @@ x_69 = lean_array_push(x_67, x_33);
|
|||
x_70 = l_Lean_Syntax_mkStrLit(x_31, x_63);
|
||||
lean_dec(x_31);
|
||||
x_71 = lean_array_push(x_69, x_70);
|
||||
x_72 = l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
x_72 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
x_73 = lean_array_push(x_71, x_72);
|
||||
x_74 = l_Lean_nullKind___closed__2;
|
||||
x_75 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -9068,7 +9068,7 @@ x_100 = l_Nat_repr(x_81);
|
|||
x_101 = l_Lean_numLitKind;
|
||||
x_102 = l_Lean_Syntax_mkLit(x_101, x_100, x_93);
|
||||
x_103 = lean_array_push(x_99, x_102);
|
||||
x_104 = l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
x_104 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
x_105 = lean_array_push(x_103, x_104);
|
||||
x_106 = l_Lean_nullKind___closed__2;
|
||||
x_107 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -9107,7 +9107,7 @@ x_122 = l_Nat_repr(x_81);
|
|||
x_123 = l_Lean_numLitKind;
|
||||
x_124 = l_Lean_Syntax_mkLit(x_123, x_122, x_115);
|
||||
x_125 = lean_array_push(x_121, x_124);
|
||||
x_126 = l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
x_126 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
x_127 = lean_array_push(x_125, x_126);
|
||||
x_128 = l_Lean_nullKind___closed__2;
|
||||
x_129 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -9888,7 +9888,7 @@ x_34 = lean_name_eq(x_10, x_33);
|
|||
if (x_34 == 0)
|
||||
{
|
||||
lean_object* x_35; uint8_t x_36;
|
||||
x_35 = l_Lean_mkHole___closed__2;
|
||||
x_35 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
x_36 = lean_name_eq(x_10, x_35);
|
||||
if (x_36 == 0)
|
||||
{
|
||||
|
|
@ -10369,7 +10369,7 @@ lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160;
|
|||
x_157 = l_Lean_Syntax_getArg(x_155, x_153);
|
||||
lean_inc(x_157);
|
||||
x_158 = l_Lean_Syntax_getKind(x_157);
|
||||
x_159 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_159 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_160 = lean_name_eq(x_158, x_159);
|
||||
lean_dec(x_158);
|
||||
if (x_160 == 0)
|
||||
|
|
@ -10651,7 +10651,7 @@ lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229;
|
|||
x_226 = l_Lean_Syntax_getArg(x_224, x_222);
|
||||
lean_inc(x_226);
|
||||
x_227 = l_Lean_Syntax_getKind(x_226);
|
||||
x_228 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_228 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_229 = lean_name_eq(x_227, x_228);
|
||||
lean_dec(x_227);
|
||||
if (x_229 == 0)
|
||||
|
|
@ -11286,7 +11286,7 @@ x_373 = lean_name_eq(x_10, x_372);
|
|||
if (x_373 == 0)
|
||||
{
|
||||
lean_object* x_374; uint8_t x_375;
|
||||
x_374 = l_Lean_mkHole___closed__2;
|
||||
x_374 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
x_375 = lean_name_eq(x_10, x_374);
|
||||
if (x_375 == 0)
|
||||
{
|
||||
|
|
@ -11646,7 +11646,7 @@ lean_object* x_450; lean_object* x_451; lean_object* x_452; uint8_t x_453;
|
|||
x_450 = l_Lean_Syntax_getArg(x_448, x_446);
|
||||
lean_inc(x_450);
|
||||
x_451 = l_Lean_Syntax_getKind(x_450);
|
||||
x_452 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_452 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_453 = lean_name_eq(x_451, x_452);
|
||||
lean_dec(x_451);
|
||||
if (x_453 == 0)
|
||||
|
|
@ -12221,7 +12221,7 @@ x_568 = lean_name_eq(x_10, x_567);
|
|||
if (x_568 == 0)
|
||||
{
|
||||
lean_object* x_569; uint8_t x_570;
|
||||
x_569 = l_Lean_mkHole___closed__2;
|
||||
x_569 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
x_570 = lean_name_eq(x_10, x_569);
|
||||
if (x_570 == 0)
|
||||
{
|
||||
|
|
@ -12589,7 +12589,7 @@ lean_object* x_649; lean_object* x_650; lean_object* x_651; uint8_t x_652;
|
|||
x_649 = l_Lean_Syntax_getArg(x_647, x_645);
|
||||
lean_inc(x_649);
|
||||
x_650 = l_Lean_Syntax_getKind(x_649);
|
||||
x_651 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_651 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_652 = lean_name_eq(x_650, x_651);
|
||||
lean_dec(x_650);
|
||||
if (x_652 == 0)
|
||||
|
|
@ -13187,7 +13187,7 @@ x_777 = lean_name_eq(x_10, x_776);
|
|||
if (x_777 == 0)
|
||||
{
|
||||
lean_object* x_778; uint8_t x_779;
|
||||
x_778 = l_Lean_mkHole___closed__2;
|
||||
x_778 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
x_779 = lean_name_eq(x_10, x_778);
|
||||
if (x_779 == 0)
|
||||
{
|
||||
|
|
@ -13575,7 +13575,7 @@ lean_object* x_858; lean_object* x_859; lean_object* x_860; uint8_t x_861;
|
|||
x_858 = l_Lean_Syntax_getArg(x_856, x_854);
|
||||
lean_inc(x_858);
|
||||
x_859 = l_Lean_Syntax_getKind(x_858);
|
||||
x_860 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_860 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_861 = lean_name_eq(x_859, x_860);
|
||||
lean_dec(x_859);
|
||||
if (x_861 == 0)
|
||||
|
|
@ -14216,7 +14216,7 @@ x_996 = lean_name_eq(x_10, x_995);
|
|||
if (x_996 == 0)
|
||||
{
|
||||
lean_object* x_997; uint8_t x_998;
|
||||
x_997 = l_Lean_mkHole___closed__2;
|
||||
x_997 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
x_998 = lean_name_eq(x_10, x_997);
|
||||
if (x_998 == 0)
|
||||
{
|
||||
|
|
@ -14604,7 +14604,7 @@ lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; uint8_t x_1080;
|
|||
x_1077 = l_Lean_Syntax_getArg(x_1075, x_1073);
|
||||
lean_inc(x_1077);
|
||||
x_1078 = l_Lean_Syntax_getKind(x_1077);
|
||||
x_1079 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_1079 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_1080 = lean_name_eq(x_1078, x_1079);
|
||||
lean_dec(x_1078);
|
||||
if (x_1080 == 0)
|
||||
|
|
@ -29284,7 +29284,7 @@ else
|
|||
lean_object* x_106; lean_object* x_107; uint8_t x_108;
|
||||
x_106 = l_Lean_Syntax_getArg(x_98, x_80);
|
||||
lean_dec(x_98);
|
||||
x_107 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_107 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
lean_inc(x_106);
|
||||
x_108 = l_Lean_Syntax_isOfKind(x_106, x_107);
|
||||
if (x_108 == 0)
|
||||
|
|
|
|||
280
stage0/stdlib/Lean/Elab/PreDefinition/Structural.c
generated
280
stage0/stdlib/Lean/Elab/PreDefinition/Structural.c
generated
|
|
@ -227,7 +227,7 @@ lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replace
|
|||
lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_findRecArg___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_ensureNoRecFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_3474_(lean_object*);
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_3484_(lean_object*);
|
||||
uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_throwStructuralFailed___rarg___closed__2;
|
||||
lean_object* l_Lean_hasConst___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_findRecArg_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -8128,73 +8128,122 @@ return x_2;
|
|||
lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_15 = l_Lean_Expr_Lean_Expr___instance__11;
|
||||
x_16 = lean_array_get(x_15, x_1, x_2);
|
||||
x_17 = lean_ctor_get(x_5, 6);
|
||||
lean_inc(x_17);
|
||||
x_18 = lean_array_get_size(x_17);
|
||||
lean_dec(x_17);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_6);
|
||||
x_19 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_toBelow(x_6, x_18, x_16, x_10, x_11, x_12, x_13, x_14);
|
||||
if (lean_obj_tag(x_19) == 0)
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
x_17 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop(x_3, x_4, x_5, x_16, x_10, x_11, x_12, x_13, x_14);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
lean_dec(x_8);
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
x_18 = lean_ctor_get(x_17, 0);
|
||||
lean_inc(x_18);
|
||||
x_19 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_17);
|
||||
x_20 = lean_ctor_get(x_4, 6);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_19);
|
||||
x_22 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__3___lambda__1(x_1, x_3, x_4, x_5, x_6, x_7, x_20, x_10, x_11, x_12, x_13, x_21);
|
||||
return x_22;
|
||||
x_21 = lean_array_get_size(x_20);
|
||||
lean_dec(x_20);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_5);
|
||||
x_22 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_toBelow(x_5, x_21, x_18, x_10, x_11, x_12, x_13, x_19);
|
||||
if (lean_obj_tag(x_22) == 0)
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25;
|
||||
lean_dec(x_8);
|
||||
x_23 = lean_ctor_get(x_22, 0);
|
||||
lean_inc(x_23);
|
||||
x_24 = lean_ctor_get(x_22, 1);
|
||||
lean_inc(x_24);
|
||||
lean_dec(x_22);
|
||||
x_25 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__3___lambda__1(x_1, x_6, x_3, x_4, x_5, x_7, x_23, x_10, x_11, x_12, x_13, x_24);
|
||||
return x_25;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30;
|
||||
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; uint8_t x_33;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
x_23 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_19);
|
||||
x_24 = l_Lean_indentExpr(x_8);
|
||||
x_25 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__3___lambda__2___closed__2;
|
||||
x_26 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_26, 0, x_25);
|
||||
lean_ctor_set(x_26, 1, x_24);
|
||||
x_27 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1;
|
||||
x_28 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_26);
|
||||
lean_ctor_set(x_28, 1, x_27);
|
||||
x_29 = l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__5___rarg(x_28, x_10, x_11, x_12, x_13, x_23);
|
||||
x_26 = lean_ctor_get(x_22, 1);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_22);
|
||||
x_27 = l_Lean_indentExpr(x_8);
|
||||
x_28 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__3___lambda__2___closed__2;
|
||||
x_29 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_28);
|
||||
lean_ctor_set(x_29, 1, x_27);
|
||||
x_30 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1;
|
||||
x_31 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_29);
|
||||
lean_ctor_set(x_31, 1, x_30);
|
||||
x_32 = l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__5___rarg(x_31, x_10, x_11, x_12, x_13, x_26);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
x_30 = !lean_is_exclusive(x_29);
|
||||
if (x_30 == 0)
|
||||
x_33 = !lean_is_exclusive(x_32);
|
||||
if (x_33 == 0)
|
||||
{
|
||||
return x_29;
|
||||
return x_32;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
x_31 = lean_ctor_get(x_29, 0);
|
||||
x_32 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_32);
|
||||
lean_inc(x_31);
|
||||
lean_dec(x_29);
|
||||
x_33 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_33, 0, x_31);
|
||||
lean_ctor_set(x_33, 1, x_32);
|
||||
return x_33;
|
||||
lean_object* x_34; lean_object* x_35; lean_object* x_36;
|
||||
x_34 = lean_ctor_get(x_32, 0);
|
||||
x_35 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_35);
|
||||
lean_inc(x_34);
|
||||
lean_dec(x_32);
|
||||
x_36 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_36, 0, x_34);
|
||||
lean_ctor_set(x_36, 1, x_35);
|
||||
return x_36;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_37;
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
x_37 = !lean_is_exclusive(x_17);
|
||||
if (x_37 == 0)
|
||||
{
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_38; lean_object* x_39; lean_object* x_40;
|
||||
x_38 = lean_ctor_get(x_17, 0);
|
||||
x_39 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_39);
|
||||
lean_inc(x_38);
|
||||
lean_dec(x_17);
|
||||
x_40 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_38);
|
||||
lean_ctor_set(x_40, 1, x_39);
|
||||
return x_40;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -8387,7 +8436,7 @@ if (x_51 == 0)
|
|||
{
|
||||
lean_object* x_52; lean_object* x_53;
|
||||
x_52 = lean_box(0);
|
||||
x_53 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__3___lambda__2(x_6, x_49, x_47, x_1, x_2, x_3, x_48, x_4, x_52, x_8, x_9, x_10, x_11, x_12);
|
||||
x_53 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__3___lambda__2(x_6, x_49, x_1, x_2, x_3, x_47, x_48, x_4, x_52, x_8, x_9, x_10, x_11, x_12);
|
||||
lean_dec(x_48);
|
||||
lean_dec(x_49);
|
||||
return x_53;
|
||||
|
|
@ -8748,73 +8797,122 @@ return x_31;
|
|||
lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__6___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_15 = l_Lean_Expr_Lean_Expr___instance__11;
|
||||
x_16 = lean_array_get(x_15, x_1, x_2);
|
||||
x_17 = lean_ctor_get(x_5, 6);
|
||||
lean_inc(x_17);
|
||||
x_18 = lean_array_get_size(x_17);
|
||||
lean_dec(x_17);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_6);
|
||||
x_19 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_toBelow(x_6, x_18, x_16, x_10, x_11, x_12, x_13, x_14);
|
||||
if (lean_obj_tag(x_19) == 0)
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
x_17 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop(x_3, x_4, x_5, x_16, x_10, x_11, x_12, x_13, x_14);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
lean_dec(x_8);
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
x_18 = lean_ctor_get(x_17, 0);
|
||||
lean_inc(x_18);
|
||||
x_19 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_17);
|
||||
x_20 = lean_ctor_get(x_4, 6);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_19);
|
||||
x_22 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__6___lambda__1(x_1, x_3, x_4, x_5, x_6, x_7, x_20, x_10, x_11, x_12, x_13, x_21);
|
||||
return x_22;
|
||||
x_21 = lean_array_get_size(x_20);
|
||||
lean_dec(x_20);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_5);
|
||||
x_22 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_toBelow(x_5, x_21, x_18, x_10, x_11, x_12, x_13, x_19);
|
||||
if (lean_obj_tag(x_22) == 0)
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25;
|
||||
lean_dec(x_8);
|
||||
x_23 = lean_ctor_get(x_22, 0);
|
||||
lean_inc(x_23);
|
||||
x_24 = lean_ctor_get(x_22, 1);
|
||||
lean_inc(x_24);
|
||||
lean_dec(x_22);
|
||||
x_25 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__6___lambda__1(x_1, x_6, x_3, x_4, x_5, x_7, x_23, x_10, x_11, x_12, x_13, x_24);
|
||||
return x_25;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30;
|
||||
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; uint8_t x_33;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
x_23 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_19);
|
||||
x_24 = l_Lean_indentExpr(x_8);
|
||||
x_25 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__3___lambda__2___closed__2;
|
||||
x_26 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_26, 0, x_25);
|
||||
lean_ctor_set(x_26, 1, x_24);
|
||||
x_27 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1;
|
||||
x_28 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_26);
|
||||
lean_ctor_set(x_28, 1, x_27);
|
||||
x_29 = l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__5___rarg(x_28, x_10, x_11, x_12, x_13, x_23);
|
||||
x_26 = lean_ctor_get(x_22, 1);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_22);
|
||||
x_27 = l_Lean_indentExpr(x_8);
|
||||
x_28 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__3___lambda__2___closed__2;
|
||||
x_29 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_28);
|
||||
lean_ctor_set(x_29, 1, x_27);
|
||||
x_30 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1;
|
||||
x_31 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_29);
|
||||
lean_ctor_set(x_31, 1, x_30);
|
||||
x_32 = l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__5___rarg(x_31, x_10, x_11, x_12, x_13, x_26);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
x_30 = !lean_is_exclusive(x_29);
|
||||
if (x_30 == 0)
|
||||
x_33 = !lean_is_exclusive(x_32);
|
||||
if (x_33 == 0)
|
||||
{
|
||||
return x_29;
|
||||
return x_32;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
x_31 = lean_ctor_get(x_29, 0);
|
||||
x_32 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_32);
|
||||
lean_inc(x_31);
|
||||
lean_dec(x_29);
|
||||
x_33 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_33, 0, x_31);
|
||||
lean_ctor_set(x_33, 1, x_32);
|
||||
return x_33;
|
||||
lean_object* x_34; lean_object* x_35; lean_object* x_36;
|
||||
x_34 = lean_ctor_get(x_32, 0);
|
||||
x_35 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_35);
|
||||
lean_inc(x_34);
|
||||
lean_dec(x_32);
|
||||
x_36 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_36, 0, x_34);
|
||||
lean_ctor_set(x_36, 1, x_35);
|
||||
return x_36;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_37;
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
x_37 = !lean_is_exclusive(x_17);
|
||||
if (x_37 == 0)
|
||||
{
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_38; lean_object* x_39; lean_object* x_40;
|
||||
x_38 = lean_ctor_get(x_17, 0);
|
||||
x_39 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_39);
|
||||
lean_inc(x_38);
|
||||
lean_dec(x_17);
|
||||
x_40 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_38);
|
||||
lean_ctor_set(x_40, 1, x_39);
|
||||
return x_40;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -8990,7 +9088,7 @@ if (x_51 == 0)
|
|||
{
|
||||
lean_object* x_52; lean_object* x_53;
|
||||
x_52 = lean_box(0);
|
||||
x_53 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__6___lambda__2(x_6, x_49, x_47, x_1, x_2, x_3, x_48, x_4, x_52, x_8, x_9, x_10, x_11, x_12);
|
||||
x_53 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__6___lambda__2(x_6, x_49, x_1, x_2, x_3, x_47, x_48, x_4, x_52, x_8, x_9, x_10, x_11, x_12);
|
||||
lean_dec(x_48);
|
||||
lean_dec(x_49);
|
||||
return x_53;
|
||||
|
|
@ -12388,7 +12486,7 @@ return x_32;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_3474_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_3484_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -12602,7 +12700,7 @@ l_Lean_Elab_structuralRecursion___closed__3 = _init_l_Lean_Elab_structuralRecurs
|
|||
lean_mark_persistent(l_Lean_Elab_structuralRecursion___closed__3);
|
||||
l_Lean_Elab_structuralRecursion___closed__4 = _init_l_Lean_Elab_structuralRecursion___closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_structuralRecursion___closed__4);
|
||||
res = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_3474_(lean_io_mk_world());
|
||||
res = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_3484_(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));
|
||||
|
|
|
|||
48
stage0/stdlib/Lean/Elab/Quotation.c
generated
48
stage0/stdlib/Lean/Elab/Quotation.c
generated
|
|
@ -199,7 +199,6 @@ lean_object* l_Lean_Elab_Term_Quotation_Lean_Elab_Quotation___instance__1___clos
|
|||
lean_object* l_Lean_Syntax_mkCApp(lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_elimAntiquotChoices___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__3;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_elabLevelQuot___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__8;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__4;
|
||||
|
|
@ -222,7 +221,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSy
|
|||
lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_Lean_Elab_Term___instance__7___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__21;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__3___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__1(lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_isAntiquotSplicePat___boxed(lean_object*);
|
||||
|
|
@ -412,6 +410,7 @@ extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____c
|
|||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__6;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__5;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__12;
|
||||
lean_object* l_Array_toList___rarg(lean_object*);
|
||||
|
|
@ -431,7 +430,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabDoElemQuot___closed__1;
|
|||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__58;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabDoElemQuot___closed__2;
|
||||
extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__5;
|
||||
extern lean_object* l_Lean_mkHole___closed__2;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__5;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabStxQuot(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__10;
|
||||
|
|
@ -443,17 +441,20 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
|||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__6;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_mkOptionalNode___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
extern lean_object* l_Lean_Meta_mkPure___rarg___closed__4;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__14;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___closed__2;
|
||||
lean_object* l_List_filterAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__5;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__10;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__18;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__1;
|
||||
lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___spec__1(lean_object*);
|
||||
lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8___closed__6;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__15;
|
||||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -507,7 +508,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compile
|
|||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__43;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_unescapeAntiquot(lean_object*);
|
||||
lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_HeadInfo_generalizes___boxed(lean_object*, lean_object*);
|
||||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -5697,7 +5697,7 @@ x_4 = l_Lean_Syntax_isIdent(x_3);
|
|||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; uint8_t x_6;
|
||||
x_5 = l_Lean_mkHole___closed__2;
|
||||
x_5 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
lean_inc(x_3);
|
||||
x_6 = l_Lean_Syntax_isOfKind(x_3, x_5);
|
||||
if (x_6 == 0)
|
||||
|
|
@ -6200,7 +6200,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explode
|
|||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
x_4 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
x_5 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
lean_ctor_set(x_5, 1, x_3);
|
||||
|
|
@ -10354,18 +10354,6 @@ x_3 = lean_array_push(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_nullKind___closed__2;
|
||||
x_2 = l_Array_empty___closed__1;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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:
|
||||
{
|
||||
|
|
@ -10518,7 +10506,7 @@ x_71 = lean_array_push(x_69, x_70);
|
|||
x_72 = lean_array_push(x_71, x_70);
|
||||
x_73 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16;
|
||||
x_74 = lean_array_push(x_72, x_73);
|
||||
x_75 = l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
x_75 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_76 = lean_array_push(x_75, x_18);
|
||||
x_77 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15;
|
||||
x_78 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -10572,7 +10560,7 @@ x_102 = lean_array_push(x_100, x_101);
|
|||
x_103 = lean_array_push(x_102, x_101);
|
||||
x_104 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16;
|
||||
x_105 = lean_array_push(x_103, x_104);
|
||||
x_106 = l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
x_106 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_107 = lean_array_push(x_106, x_18);
|
||||
x_108 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15;
|
||||
x_109 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -10740,7 +10728,7 @@ x_165 = lean_array_push(x_163, x_164);
|
|||
x_166 = lean_array_push(x_165, x_164);
|
||||
x_167 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16;
|
||||
x_168 = lean_array_push(x_166, x_167);
|
||||
x_169 = l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
x_169 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_170 = lean_array_push(x_169, x_18);
|
||||
x_171 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15;
|
||||
x_172 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -10953,7 +10941,7 @@ lean_ctor_set(x_251, 2, x_250);
|
|||
lean_ctor_set(x_251, 3, x_218);
|
||||
x_252 = l_Array_empty___closed__1;
|
||||
x_253 = lean_array_push(x_252, x_251);
|
||||
x_254 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_254 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_255 = lean_array_push(x_253, x_254);
|
||||
x_256 = lean_array_push(x_255, x_254);
|
||||
x_257 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16;
|
||||
|
|
@ -10996,7 +10984,7 @@ lean_ctor_set(x_275, 2, x_274);
|
|||
lean_ctor_set(x_275, 3, x_218);
|
||||
x_276 = l_Array_empty___closed__1;
|
||||
x_277 = lean_array_push(x_276, x_275);
|
||||
x_278 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_278 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_279 = lean_array_push(x_277, x_278);
|
||||
x_280 = lean_array_push(x_279, x_278);
|
||||
x_281 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16;
|
||||
|
|
@ -11153,7 +11141,7 @@ lean_ctor_set(x_331, 2, x_330);
|
|||
lean_ctor_set(x_331, 3, x_218);
|
||||
x_332 = l_Array_empty___closed__1;
|
||||
x_333 = lean_array_push(x_332, x_331);
|
||||
x_334 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_334 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_335 = lean_array_push(x_333, x_334);
|
||||
x_336 = lean_array_push(x_335, x_334);
|
||||
x_337 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16;
|
||||
|
|
@ -11375,7 +11363,7 @@ lean_ctor_set(x_413, 2, x_412);
|
|||
lean_ctor_set(x_413, 3, x_374);
|
||||
x_414 = l_Array_empty___closed__1;
|
||||
x_415 = lean_array_push(x_414, x_413);
|
||||
x_416 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_416 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_417 = lean_array_push(x_415, x_416);
|
||||
x_418 = lean_array_push(x_417, x_416);
|
||||
x_419 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16;
|
||||
|
|
@ -11609,7 +11597,7 @@ x_500 = lean_array_push(x_498, x_499);
|
|||
x_501 = lean_array_push(x_500, x_499);
|
||||
x_502 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16;
|
||||
x_503 = lean_array_push(x_501, x_502);
|
||||
x_504 = l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
x_504 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_505 = lean_array_push(x_504, x_441);
|
||||
x_506 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15;
|
||||
x_507 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -11856,7 +11844,7 @@ lean_ctor_set(x_591, 2, x_590);
|
|||
lean_ctor_set(x_591, 3, x_551);
|
||||
x_592 = l_Array_empty___closed__1;
|
||||
x_593 = lean_array_push(x_592, x_591);
|
||||
x_594 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_594 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_595 = lean_array_push(x_593, x_594);
|
||||
x_596 = lean_array_push(x_595, x_594);
|
||||
x_597 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16;
|
||||
|
|
@ -12106,7 +12094,7 @@ x_681 = lean_array_push(x_679, x_680);
|
|||
x_682 = lean_array_push(x_681, x_680);
|
||||
x_683 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16;
|
||||
x_684 = lean_array_push(x_682, x_683);
|
||||
x_685 = l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
x_685 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_686 = lean_array_push(x_685, x_620);
|
||||
x_687 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15;
|
||||
x_688 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -12356,7 +12344,7 @@ lean_ctor_set(x_772, 2, x_771);
|
|||
lean_ctor_set(x_772, 3, x_732);
|
||||
x_773 = l_Array_empty___closed__1;
|
||||
x_774 = lean_array_push(x_773, x_772);
|
||||
x_775 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_775 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_776 = lean_array_push(x_774, x_775);
|
||||
x_777 = lean_array_push(x_776, x_775);
|
||||
x_778 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16;
|
||||
|
|
@ -13455,8 +13443,6 @@ l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed
|
|||
lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__11);
|
||||
l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__12 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__12();
|
||||
lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__12);
|
||||
l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13();
|
||||
lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13);
|
||||
l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3___lambda__2___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3___lambda__2___closed__1();
|
||||
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3___lambda__2___closed__1);
|
||||
l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3___lambda__2___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3___lambda__2___closed__2();
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/Elab/StructInst.c
generated
12
stage0/stdlib/Lean/Elab/StructInst.c
generated
|
|
@ -58,6 +58,7 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getSt
|
|||
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSubstructSource(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__8(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -148,6 +149,7 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_StructInst_DefaultFields_prop
|
|||
lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getHierarchyDepth_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_StructInst_Struct_ref(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields_match__1(lean_object*);
|
||||
lean_object* lean_expr_instantiate1(lean_object*, lean_object*);
|
||||
|
|
@ -202,7 +204,6 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isMod
|
|||
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__5;
|
||||
lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_propagate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_StructInst_Field_toSyntax___closed__1;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__4;
|
||||
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux_match__3(lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
|
|
@ -504,6 +505,7 @@ lean_object* l_Std_AssocList_replace___at___private_Lean_Elab_StructInst_0__Lean
|
|||
lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_collectStructNames_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_StructInst_Field_toSyntax___spec__1(size_t, size_t, lean_object*);
|
||||
lean_object* lean_instantiate_value_lparams(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
lean_object* l_Lean_Syntax_getSepArgs(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -519,7 +521,6 @@ extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec_
|
|||
lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f_match__1(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getForallBody_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__1___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg___closed__4;
|
||||
lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -662,7 +663,6 @@ extern lean_object* l_Lean_mkOptionalNode___closed__2;
|
|||
lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__2___closed__6;
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__4(size_t, size_t, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields_match__1(lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkStructView___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10___closed__1;
|
||||
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -777,9 +777,9 @@ x_9 = l_Lean_mkOptionalNode___closed__1;
|
|||
x_10 = l_Lean_Syntax_setArg(x_1, x_4, x_9);
|
||||
x_11 = l_Array_empty___closed__1;
|
||||
x_12 = lean_array_push(x_11, x_10);
|
||||
x_13 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_13 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_14 = lean_array_push(x_13, x_8);
|
||||
x_15 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_15 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_16 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_14);
|
||||
|
|
@ -5650,7 +5650,7 @@ static lean_object* _init_l_Lean_Elab_Term_StructInst_formatStruct___closed__2()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Elab/Structure.c
generated
8
stage0/stdlib/Lean/Elab/Structure.c
generated
|
|
@ -102,6 +102,7 @@ lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___boxed(lea
|
|||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_elabModifiers___rarg___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_collectUsedFVarsAtFVars___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabStructure_match__1(lean_object*);
|
||||
|
|
@ -205,7 +206,6 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___r
|
|||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVars___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___closed__1;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Name_appendIndexAfter___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___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*);
|
||||
uint8_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_validStructType(lean_object*);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
|
|
@ -222,6 +222,7 @@ lean_object* l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_
|
|||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkProjection___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__16;
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___boxed__const__1;
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkProjections___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_removeUnused_match__1(lean_object*);
|
||||
|
|
@ -521,7 +522,6 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultin
|
|||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___closed__2;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__4;
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__2;
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___closed__1;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_getAppFn(lean_object*);
|
||||
|
|
@ -12950,7 +12950,7 @@ default:
|
|||
{
|
||||
lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41;
|
||||
x_36 = l_Lean_LocalDecl_userName(x_19);
|
||||
x_37 = l_Lean_Name_appendIndexAfter___closed__1;
|
||||
x_37 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
x_38 = l_Lean_Name_appendBefore(x_36, x_37);
|
||||
x_39 = l_Lean_LocalDecl_binderInfo(x_19);
|
||||
x_40 = l_Lean_LocalDecl_type(x_19);
|
||||
|
|
@ -16904,7 +16904,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Level_elabLevel___closed__6;
|
||||
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__2;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__16;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
|
|
|
|||
142
stage0/stdlib/Lean/Elab/Syntax.c
generated
142
stage0/stdlib/Lean/Elab/Syntax.c
generated
|
|
@ -142,7 +142,6 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__20;
|
|||
lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_withExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
extern lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
lean_object* lean_environment_find(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix___closed__24;
|
||||
|
|
@ -221,7 +220,6 @@ lean_object* l_Lean_Elab_Command_expandElab___closed__17;
|
|||
lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__3;
|
||||
lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__54;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6;
|
||||
lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__42;
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix___closed__13;
|
||||
|
|
@ -321,7 +319,6 @@ lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntax(lean_object*);
|
|||
lean_object* l_Lean_Elab_Command_expandMixfix___closed__27;
|
||||
lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__3;
|
||||
lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*);
|
||||
extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3419____closed__9;
|
||||
lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -455,7 +452,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8;
|
|||
lean_object* l_Nat_pred(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12;
|
||||
lean_object* l_Lean_Elab_Command_expandElab___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__34;
|
||||
lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__5;
|
||||
|
|
@ -476,6 +472,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__2___closed__3;
|
|||
extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__3;
|
||||
lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandElab___closed__23;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix___closed__19;
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__3(lean_object*);
|
||||
lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -549,6 +546,7 @@ lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___spec__1___rarg(lean_object*);
|
||||
lean_object* l_Lean_Macro_throwError___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandElab___closed__24;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
lean_object* l_Lean_Elab_Command_elabSyntax___closed__4;
|
||||
lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__1___closed__4;
|
||||
lean_object* l_Lean_Name_appendAfter(lean_object*, lean_object*);
|
||||
|
|
@ -568,7 +566,6 @@ extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__9;
|
|||
lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__13;
|
||||
lean_object* l_Lean_Elab_Command_expandElab___closed__16;
|
||||
lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__3;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1(lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__3;
|
||||
lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isAtomLikeSyntax___boxed(lean_object*);
|
||||
|
|
@ -665,6 +662,7 @@ lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev(lean_object*, lean_object*, le
|
|||
lean_object* l_Lean_Macro_expandMacro_x3fImp(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabMacroRulesAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__4;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescrAux___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__18;
|
||||
lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__3;
|
||||
|
|
@ -708,6 +706,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__4;
|
|||
lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__12;
|
||||
lean_object* l_Lean_Elab_Command_elabMacroRulesAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_mk_syntax_ident(lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_toNat(lean_object*);
|
||||
|
|
@ -715,6 +714,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__9;
|
|||
lean_object* l_Lean_Elab_Command_elabMacroRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__1;
|
||||
extern lean_object* l_Lean_mkOptionalNode___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
extern lean_object* l_Lean_Format_paren___closed__3;
|
||||
lean_object* l_Lean_Elab_Command_expandElab___closed__19;
|
||||
lean_object* l_Lean_Elab_Command_elabMacro___closed__1;
|
||||
|
|
@ -8291,9 +8291,9 @@ lean_ctor_set(x_57, 0, x_21);
|
|||
lean_ctor_set(x_57, 1, x_55);
|
||||
lean_ctor_set(x_57, 2, x_54);
|
||||
lean_ctor_set(x_57, 3, x_56);
|
||||
x_58 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_58 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_59 = lean_array_push(x_58, x_57);
|
||||
x_60 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_60 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_61 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_61, 0, x_60);
|
||||
lean_ctor_set(x_61, 1, x_59);
|
||||
|
|
@ -10268,9 +10268,9 @@ lean_ctor_set(x_80, 0, x_45);
|
|||
lean_ctor_set(x_80, 1, x_78);
|
||||
lean_ctor_set(x_80, 2, x_77);
|
||||
lean_ctor_set(x_80, 3, x_79);
|
||||
x_81 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_81 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_82 = lean_array_push(x_81, x_80);
|
||||
x_83 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_83 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_84 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_84, 0, x_83);
|
||||
lean_ctor_set(x_84, 1, x_82);
|
||||
|
|
@ -10406,9 +10406,9 @@ lean_ctor_set(x_165, 0, x_130);
|
|||
lean_ctor_set(x_165, 1, x_163);
|
||||
lean_ctor_set(x_165, 2, x_162);
|
||||
lean_ctor_set(x_165, 3, x_164);
|
||||
x_166 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_166 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_167 = lean_array_push(x_166, x_165);
|
||||
x_168 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_168 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_169 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_169, 0, x_168);
|
||||
lean_ctor_set(x_169, 1, x_167);
|
||||
|
|
@ -10950,9 +10950,9 @@ lean_ctor_set(x_37, 0, x_34);
|
|||
lean_ctor_set(x_37, 1, x_35);
|
||||
lean_ctor_set(x_37, 2, x_33);
|
||||
lean_ctor_set(x_37, 3, x_36);
|
||||
x_38 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_38 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_39 = lean_array_push(x_38, x_37);
|
||||
x_40 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_40 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_41 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_41, 0, x_40);
|
||||
lean_ctor_set(x_41, 1, x_39);
|
||||
|
|
@ -11773,7 +11773,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__18() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_6360____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -12061,9 +12061,9 @@ lean_ctor_set(x_65, 0, x_19);
|
|||
lean_ctor_set(x_65, 1, x_63);
|
||||
lean_ctor_set(x_65, 2, x_62);
|
||||
lean_ctor_set(x_65, 3, x_64);
|
||||
x_66 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_66 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_67 = lean_array_push(x_66, x_65);
|
||||
x_68 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_68 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_69 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_69, 0, x_68);
|
||||
lean_ctor_set(x_69, 1, x_67);
|
||||
|
|
@ -12273,9 +12273,9 @@ lean_ctor_set(x_188, 0, x_142);
|
|||
lean_ctor_set(x_188, 1, x_186);
|
||||
lean_ctor_set(x_188, 2, x_185);
|
||||
lean_ctor_set(x_188, 3, x_187);
|
||||
x_189 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_189 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_190 = lean_array_push(x_189, x_188);
|
||||
x_191 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_191 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_192 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_192, 0, x_191);
|
||||
lean_ctor_set(x_192, 1, x_190);
|
||||
|
|
@ -12926,7 +12926,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__4;
|
||||
x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -14213,7 +14213,7 @@ x_353 = l_Lean_Syntax_getArg(x_1, x_348);
|
|||
x_354 = lean_unsigned_to_nat(4u);
|
||||
x_355 = l_Lean_Syntax_getArg(x_1, x_354);
|
||||
lean_dec(x_1);
|
||||
x_356 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_356 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_357 = lean_array_push(x_356, x_352);
|
||||
x_358 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_358, 0, x_342);
|
||||
|
|
@ -14382,7 +14382,7 @@ lean_inc(x_54);
|
|||
x_55 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_55);
|
||||
lean_dec(x_2);
|
||||
x_56 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_56 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_57 = lean_array_push(x_56, x_50);
|
||||
x_58 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_58, 0, x_40);
|
||||
|
|
@ -14405,7 +14405,7 @@ lean_ctor_set(x_69, 1, x_68);
|
|||
lean_ctor_set(x_69, 2, x_65);
|
||||
lean_ctor_set(x_69, 3, x_66);
|
||||
x_70 = lean_array_push(x_59, x_69);
|
||||
x_71 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_71 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
lean_inc(x_70);
|
||||
x_72 = lean_array_push(x_70, x_71);
|
||||
x_73 = l_Lean_Elab_Command_expandMixfix___closed__14;
|
||||
|
|
@ -14560,7 +14560,7 @@ lean_inc(x_121);
|
|||
x_122 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_122);
|
||||
lean_dec(x_2);
|
||||
x_123 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_123 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_124 = lean_array_push(x_123, x_117);
|
||||
x_125 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_125, 0, x_107);
|
||||
|
|
@ -14761,7 +14761,7 @@ lean_inc(x_199);
|
|||
x_200 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_200);
|
||||
lean_dec(x_2);
|
||||
x_201 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_201 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_202 = lean_array_push(x_201, x_189);
|
||||
x_203 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_203, 0, x_179);
|
||||
|
|
@ -14785,7 +14785,7 @@ lean_ctor_set(x_213, 1, x_212);
|
|||
lean_ctor_set(x_213, 2, x_210);
|
||||
lean_ctor_set(x_213, 3, x_211);
|
||||
x_214 = lean_array_push(x_204, x_213);
|
||||
x_215 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_215 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
lean_inc(x_214);
|
||||
x_216 = lean_array_push(x_214, x_215);
|
||||
x_217 = l_Lean_Elab_Command_expandMixfix___closed__14;
|
||||
|
|
@ -14960,7 +14960,7 @@ lean_inc(x_277);
|
|||
x_278 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_278);
|
||||
lean_dec(x_2);
|
||||
x_279 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_279 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_280 = lean_array_push(x_279, x_273);
|
||||
x_281 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_281, 0, x_263);
|
||||
|
|
@ -14986,7 +14986,7 @@ lean_ctor_set(x_292, 1, x_291);
|
|||
lean_ctor_set(x_292, 2, x_288);
|
||||
lean_ctor_set(x_292, 3, x_289);
|
||||
x_293 = lean_array_push(x_282, x_292);
|
||||
x_294 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_294 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
lean_inc(x_293);
|
||||
x_295 = lean_array_push(x_293, x_294);
|
||||
x_296 = l_Lean_Elab_Command_expandMixfix___closed__14;
|
||||
|
|
@ -15942,7 +15942,7 @@ x_56 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_56, 0, x_51);
|
||||
lean_ctor_set(x_56, 1, x_55);
|
||||
x_57 = lean_array_push(x_54, x_56);
|
||||
x_58 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_58 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_59 = lean_array_push(x_57, x_58);
|
||||
x_60 = lean_array_push(x_59, x_23);
|
||||
x_61 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1;
|
||||
|
|
@ -16004,7 +16004,7 @@ lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean
|
|||
x_93 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_93);
|
||||
lean_dec(x_3);
|
||||
x_94 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_94 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_95 = lean_array_push(x_94, x_93);
|
||||
x_96 = l_Lean_Elab_Command_expandMixfix___closed__8;
|
||||
x_97 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -16038,7 +16038,7 @@ x_115 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_115, 0, x_100);
|
||||
lean_ctor_set(x_115, 1, x_114);
|
||||
x_116 = lean_array_push(x_113, x_115);
|
||||
x_117 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_117 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_118 = lean_array_push(x_116, x_117);
|
||||
x_119 = lean_array_push(x_118, x_23);
|
||||
x_120 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1;
|
||||
|
|
@ -16142,7 +16142,7 @@ x_176 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_176, 0, x_171);
|
||||
lean_ctor_set(x_176, 1, x_175);
|
||||
x_177 = lean_array_push(x_174, x_176);
|
||||
x_178 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_178 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_179 = lean_array_push(x_177, x_178);
|
||||
x_180 = lean_array_push(x_179, x_23);
|
||||
x_181 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1;
|
||||
|
|
@ -16206,7 +16206,7 @@ lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217;
|
|||
x_214 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_214);
|
||||
lean_dec(x_3);
|
||||
x_215 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_215 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_216 = lean_array_push(x_215, x_214);
|
||||
x_217 = l_Lean_Elab_Command_expandMixfix___closed__8;
|
||||
x_218 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -16240,7 +16240,7 @@ x_236 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_236, 0, x_221);
|
||||
lean_ctor_set(x_236, 1, x_235);
|
||||
x_237 = lean_array_push(x_234, x_236);
|
||||
x_238 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_238 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_239 = lean_array_push(x_237, x_238);
|
||||
x_240 = lean_array_push(x_239, x_23);
|
||||
x_241 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1;
|
||||
|
|
@ -17545,7 +17545,7 @@ x_81 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_81, 0, x_59);
|
||||
lean_ctor_set(x_81, 1, x_80);
|
||||
x_82 = lean_array_push(x_79, x_81);
|
||||
x_83 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_83 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_84 = lean_array_push(x_82, x_83);
|
||||
x_85 = lean_array_push(x_84, x_17);
|
||||
x_86 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1;
|
||||
|
|
@ -17642,7 +17642,7 @@ x_144 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_144, 0, x_122);
|
||||
lean_ctor_set(x_144, 1, x_143);
|
||||
x_145 = lean_array_push(x_142, x_144);
|
||||
x_146 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_146 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_147 = lean_array_push(x_145, x_146);
|
||||
x_148 = lean_array_push(x_147, x_17);
|
||||
x_149 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1;
|
||||
|
|
@ -17756,7 +17756,7 @@ x_213 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_213, 0, x_191);
|
||||
lean_ctor_set(x_213, 1, x_212);
|
||||
x_214 = lean_array_push(x_211, x_213);
|
||||
x_215 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_215 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_216 = lean_array_push(x_214, x_215);
|
||||
x_217 = lean_array_push(x_216, x_17);
|
||||
x_218 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1;
|
||||
|
|
@ -17855,7 +17855,7 @@ x_277 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_277, 0, x_255);
|
||||
lean_ctor_set(x_277, 1, x_276);
|
||||
x_278 = lean_array_push(x_275, x_277);
|
||||
x_279 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_279 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_280 = lean_array_push(x_278, x_279);
|
||||
x_281 = lean_array_push(x_280, x_17);
|
||||
x_282 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1;
|
||||
|
|
@ -19178,7 +19178,7 @@ x_97 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_97, 0, x_76);
|
||||
lean_ctor_set(x_97, 1, x_96);
|
||||
x_98 = lean_array_push(x_95, x_97);
|
||||
x_99 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_99 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_100 = lean_array_push(x_98, x_99);
|
||||
x_101 = lean_array_push(x_100, x_17);
|
||||
x_102 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1;
|
||||
|
|
@ -19222,7 +19222,7 @@ lean_ctor_set(x_122, 0, x_76);
|
|||
lean_ctor_set(x_122, 1, x_121);
|
||||
x_123 = l_Lean_Elab_Tactic_evalIntro___closed__5;
|
||||
x_124 = lean_array_push(x_123, x_122);
|
||||
x_125 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_125 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_126 = lean_array_push(x_124, x_125);
|
||||
x_127 = lean_array_push(x_126, x_125);
|
||||
x_128 = lean_array_push(x_127, x_125);
|
||||
|
|
@ -19261,9 +19261,9 @@ lean_ctor_set(x_147, 0, x_85);
|
|||
lean_ctor_set(x_147, 1, x_145);
|
||||
lean_ctor_set(x_147, 2, x_144);
|
||||
lean_ctor_set(x_147, 3, x_146);
|
||||
x_148 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_148 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_149 = lean_array_push(x_148, x_147);
|
||||
x_150 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_150 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_151 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_151, 0, x_150);
|
||||
lean_ctor_set(x_151, 1, x_149);
|
||||
|
|
@ -19430,7 +19430,7 @@ x_248 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_248, 0, x_227);
|
||||
lean_ctor_set(x_248, 1, x_247);
|
||||
x_249 = lean_array_push(x_246, x_248);
|
||||
x_250 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_250 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_251 = lean_array_push(x_249, x_250);
|
||||
x_252 = lean_array_push(x_251, x_17);
|
||||
x_253 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1;
|
||||
|
|
@ -19475,7 +19475,7 @@ lean_ctor_set(x_274, 0, x_227);
|
|||
lean_ctor_set(x_274, 1, x_273);
|
||||
x_275 = l_Lean_Elab_Tactic_evalIntro___closed__5;
|
||||
x_276 = lean_array_push(x_275, x_274);
|
||||
x_277 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_277 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_278 = lean_array_push(x_276, x_277);
|
||||
x_279 = lean_array_push(x_278, x_277);
|
||||
x_280 = lean_array_push(x_279, x_277);
|
||||
|
|
@ -19514,9 +19514,9 @@ lean_ctor_set(x_299, 0, x_236);
|
|||
lean_ctor_set(x_299, 1, x_297);
|
||||
lean_ctor_set(x_299, 2, x_296);
|
||||
lean_ctor_set(x_299, 3, x_298);
|
||||
x_300 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_300 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_301 = lean_array_push(x_300, x_299);
|
||||
x_302 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_302 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_303 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_303, 0, x_302);
|
||||
lean_ctor_set(x_303, 1, x_301);
|
||||
|
|
@ -19683,7 +19683,7 @@ x_400 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_400, 0, x_379);
|
||||
lean_ctor_set(x_400, 1, x_399);
|
||||
x_401 = lean_array_push(x_398, x_400);
|
||||
x_402 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_402 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_403 = lean_array_push(x_401, x_402);
|
||||
x_404 = lean_array_push(x_403, x_17);
|
||||
x_405 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1;
|
||||
|
|
@ -19728,7 +19728,7 @@ lean_ctor_set(x_426, 0, x_379);
|
|||
lean_ctor_set(x_426, 1, x_425);
|
||||
x_427 = l_Lean_Elab_Tactic_evalIntro___closed__5;
|
||||
x_428 = lean_array_push(x_427, x_426);
|
||||
x_429 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_429 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_430 = lean_array_push(x_428, x_429);
|
||||
x_431 = lean_array_push(x_430, x_429);
|
||||
x_432 = lean_array_push(x_431, x_429);
|
||||
|
|
@ -19767,9 +19767,9 @@ lean_ctor_set(x_451, 0, x_388);
|
|||
lean_ctor_set(x_451, 1, x_449);
|
||||
lean_ctor_set(x_451, 2, x_448);
|
||||
lean_ctor_set(x_451, 3, x_450);
|
||||
x_452 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_452 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_453 = lean_array_push(x_452, x_451);
|
||||
x_454 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_454 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_455 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_455, 0, x_454);
|
||||
lean_ctor_set(x_455, 1, x_453);
|
||||
|
|
@ -19795,7 +19795,7 @@ lean_ctor_set(x_465, 2, x_463);
|
|||
lean_ctor_set(x_465, 3, x_410);
|
||||
lean_inc(x_465);
|
||||
x_466 = lean_array_push(x_377, x_465);
|
||||
x_467 = l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
x_467 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
x_468 = lean_array_push(x_466, x_467);
|
||||
x_469 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_469, 0, x_379);
|
||||
|
|
@ -19967,7 +19967,7 @@ x_564 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_564, 0, x_543);
|
||||
lean_ctor_set(x_564, 1, x_563);
|
||||
x_565 = lean_array_push(x_562, x_564);
|
||||
x_566 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_566 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_567 = lean_array_push(x_565, x_566);
|
||||
x_568 = lean_array_push(x_567, x_17);
|
||||
x_569 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1;
|
||||
|
|
@ -20012,7 +20012,7 @@ lean_ctor_set(x_590, 0, x_543);
|
|||
lean_ctor_set(x_590, 1, x_589);
|
||||
x_591 = l_Lean_Elab_Tactic_evalIntro___closed__5;
|
||||
x_592 = lean_array_push(x_591, x_590);
|
||||
x_593 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_593 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_594 = lean_array_push(x_592, x_593);
|
||||
x_595 = lean_array_push(x_594, x_593);
|
||||
x_596 = lean_array_push(x_595, x_593);
|
||||
|
|
@ -20051,9 +20051,9 @@ lean_ctor_set(x_615, 0, x_552);
|
|||
lean_ctor_set(x_615, 1, x_613);
|
||||
lean_ctor_set(x_615, 2, x_612);
|
||||
lean_ctor_set(x_615, 3, x_614);
|
||||
x_616 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_616 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_617 = lean_array_push(x_616, x_615);
|
||||
x_618 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_618 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_619 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_619, 0, x_618);
|
||||
lean_ctor_set(x_619, 1, x_617);
|
||||
|
|
@ -20324,7 +20324,7 @@ x_762 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_762, 0, x_741);
|
||||
lean_ctor_set(x_762, 1, x_761);
|
||||
x_763 = lean_array_push(x_760, x_762);
|
||||
x_764 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_764 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_765 = lean_array_push(x_763, x_764);
|
||||
x_766 = lean_array_push(x_765, x_17);
|
||||
x_767 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1;
|
||||
|
|
@ -20368,7 +20368,7 @@ lean_ctor_set(x_787, 0, x_741);
|
|||
lean_ctor_set(x_787, 1, x_786);
|
||||
x_788 = l_Lean_Elab_Tactic_evalIntro___closed__5;
|
||||
x_789 = lean_array_push(x_788, x_787);
|
||||
x_790 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_790 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_791 = lean_array_push(x_789, x_790);
|
||||
x_792 = lean_array_push(x_791, x_790);
|
||||
x_793 = lean_array_push(x_792, x_790);
|
||||
|
|
@ -20407,9 +20407,9 @@ lean_ctor_set(x_812, 0, x_750);
|
|||
lean_ctor_set(x_812, 1, x_810);
|
||||
lean_ctor_set(x_812, 2, x_809);
|
||||
lean_ctor_set(x_812, 3, x_811);
|
||||
x_813 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_813 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_814 = lean_array_push(x_813, x_812);
|
||||
x_815 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_815 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_816 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_816, 0, x_815);
|
||||
lean_ctor_set(x_816, 1, x_814);
|
||||
|
|
@ -20578,7 +20578,7 @@ x_914 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_914, 0, x_893);
|
||||
lean_ctor_set(x_914, 1, x_913);
|
||||
x_915 = lean_array_push(x_912, x_914);
|
||||
x_916 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_916 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_917 = lean_array_push(x_915, x_916);
|
||||
x_918 = lean_array_push(x_917, x_17);
|
||||
x_919 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1;
|
||||
|
|
@ -20623,7 +20623,7 @@ lean_ctor_set(x_940, 0, x_893);
|
|||
lean_ctor_set(x_940, 1, x_939);
|
||||
x_941 = l_Lean_Elab_Tactic_evalIntro___closed__5;
|
||||
x_942 = lean_array_push(x_941, x_940);
|
||||
x_943 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_943 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_944 = lean_array_push(x_942, x_943);
|
||||
x_945 = lean_array_push(x_944, x_943);
|
||||
x_946 = lean_array_push(x_945, x_943);
|
||||
|
|
@ -20662,9 +20662,9 @@ lean_ctor_set(x_965, 0, x_902);
|
|||
lean_ctor_set(x_965, 1, x_963);
|
||||
lean_ctor_set(x_965, 2, x_962);
|
||||
lean_ctor_set(x_965, 3, x_964);
|
||||
x_966 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_966 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_967 = lean_array_push(x_966, x_965);
|
||||
x_968 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_968 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_969 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_969, 0, x_968);
|
||||
lean_ctor_set(x_969, 1, x_967);
|
||||
|
|
@ -20833,7 +20833,7 @@ x_1067 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_1067, 0, x_1046);
|
||||
lean_ctor_set(x_1067, 1, x_1066);
|
||||
x_1068 = lean_array_push(x_1065, x_1067);
|
||||
x_1069 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_1069 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_1070 = lean_array_push(x_1068, x_1069);
|
||||
x_1071 = lean_array_push(x_1070, x_17);
|
||||
x_1072 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1;
|
||||
|
|
@ -20878,7 +20878,7 @@ lean_ctor_set(x_1093, 0, x_1046);
|
|||
lean_ctor_set(x_1093, 1, x_1092);
|
||||
x_1094 = l_Lean_Elab_Tactic_evalIntro___closed__5;
|
||||
x_1095 = lean_array_push(x_1094, x_1093);
|
||||
x_1096 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_1096 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_1097 = lean_array_push(x_1095, x_1096);
|
||||
x_1098 = lean_array_push(x_1097, x_1096);
|
||||
x_1099 = lean_array_push(x_1098, x_1096);
|
||||
|
|
@ -20917,9 +20917,9 @@ lean_ctor_set(x_1118, 0, x_1055);
|
|||
lean_ctor_set(x_1118, 1, x_1116);
|
||||
lean_ctor_set(x_1118, 2, x_1115);
|
||||
lean_ctor_set(x_1118, 3, x_1117);
|
||||
x_1119 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_1119 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_1120 = lean_array_push(x_1119, x_1118);
|
||||
x_1121 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_1121 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_1122 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_1122, 0, x_1121);
|
||||
lean_ctor_set(x_1122, 1, x_1120);
|
||||
|
|
@ -20945,7 +20945,7 @@ lean_ctor_set(x_1132, 2, x_1130);
|
|||
lean_ctor_set(x_1132, 3, x_1077);
|
||||
lean_inc(x_1132);
|
||||
x_1133 = lean_array_push(x_1044, x_1132);
|
||||
x_1134 = l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
x_1134 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
x_1135 = lean_array_push(x_1133, x_1134);
|
||||
x_1136 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_1136, 0, x_1046);
|
||||
|
|
@ -21118,7 +21118,7 @@ x_1232 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_1232, 0, x_1211);
|
||||
lean_ctor_set(x_1232, 1, x_1231);
|
||||
x_1233 = lean_array_push(x_1230, x_1232);
|
||||
x_1234 = l_Lean_expandExplicitBindersAux_loop___closed__12;
|
||||
x_1234 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10;
|
||||
x_1235 = lean_array_push(x_1233, x_1234);
|
||||
x_1236 = lean_array_push(x_1235, x_17);
|
||||
x_1237 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1;
|
||||
|
|
@ -21163,7 +21163,7 @@ lean_ctor_set(x_1258, 0, x_1211);
|
|||
lean_ctor_set(x_1258, 1, x_1257);
|
||||
x_1259 = l_Lean_Elab_Tactic_evalIntro___closed__5;
|
||||
x_1260 = lean_array_push(x_1259, x_1258);
|
||||
x_1261 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_1261 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_1262 = lean_array_push(x_1260, x_1261);
|
||||
x_1263 = lean_array_push(x_1262, x_1261);
|
||||
x_1264 = lean_array_push(x_1263, x_1261);
|
||||
|
|
@ -21202,9 +21202,9 @@ lean_ctor_set(x_1283, 0, x_1220);
|
|||
lean_ctor_set(x_1283, 1, x_1281);
|
||||
lean_ctor_set(x_1283, 2, x_1280);
|
||||
lean_ctor_set(x_1283, 3, x_1282);
|
||||
x_1284 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_1284 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_1285 = lean_array_push(x_1284, x_1283);
|
||||
x_1286 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_1286 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_1287 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_1287, 0, x_1286);
|
||||
lean_ctor_set(x_1287, 1, x_1285);
|
||||
|
|
|
|||
14
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
14
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
|
|
@ -239,7 +239,6 @@ lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f_
|
|||
lean_object* l_Lean_Elab_Tactic_saveBacktrackableState___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalTactic_match__1(lean_object*);
|
||||
extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
extern lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarWithIdCore___rarg___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq(lean_object*);
|
||||
lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -488,6 +487,7 @@ lean_object* l_Lean_Elab_Tactic_evalTraceState___rarg___boxed(lean_object*, lean
|
|||
lean_object* l_Lean_Elab_Tactic_focusAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_getFVarIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__1___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
lean_object* l_Lean_Meta_getMVars___at_Lean_Elab_Tactic_ensureHasNoMVars___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_AssocList_find_x3f___at_Lean_Elab_Tactic_evalTactic___spec__6(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3861_(lean_object*);
|
||||
|
|
@ -508,7 +508,6 @@ lean_object* l_Lean_Elab_Tactic_evalDone(lean_object*);
|
|||
lean_object* l_Lean_setEnv___at_Lean_Elab_Tactic_BacktrackableState_restore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_mkHole___closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_liftMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_try_x3f(lean_object*);
|
||||
lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -530,6 +529,7 @@ lean_object* l_Lean_Elab_Tactic_getMainGoal___closed__3;
|
|||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_evalTacticSeqBracketed___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
lean_object* l_Lean_Meta_instantiateMVars___at_Lean_Elab_Tactic_ensureHasNoMVars___spec__1(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_KeyedDeclsAttribute_Lean_KeyedDeclsAttribute___instance__3___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_evalSubst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -538,6 +538,7 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__3;
|
|||
lean_object* l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___spec__1(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_Lean_Meta_Basic___instance__11___rarg___closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_try(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
lean_object* l_Lean_Elab_Tactic_evalIntro___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__2;
|
||||
lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -615,7 +616,6 @@ lean_object* l_Lean_Meta_assignExprMVar___at_Lean_Elab_Tactic_closeUsingOrAdmit_
|
|||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -10454,7 +10454,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Array_empty___closed__1;
|
||||
x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -10796,7 +10796,7 @@ x_82 = l_Lean_Syntax_isOfKind(x_80, x_81);
|
|||
if (x_82 == 0)
|
||||
{
|
||||
lean_object* x_83; lean_object* x_165; uint8_t x_166;
|
||||
x_165 = l_Lean_mkHole___closed__2;
|
||||
x_165 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
lean_inc(x_80);
|
||||
x_166 = l_Lean_Syntax_isOfKind(x_80, x_165);
|
||||
if (x_166 == 0)
|
||||
|
|
@ -10884,7 +10884,7 @@ lean_ctor_set(x_110, 0, x_72);
|
|||
lean_ctor_set(x_110, 1, x_109);
|
||||
x_111 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4;
|
||||
x_112 = lean_array_push(x_111, x_110);
|
||||
x_113 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13;
|
||||
x_113 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22;
|
||||
x_114 = lean_array_push(x_112, x_113);
|
||||
x_115 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9;
|
||||
x_116 = lean_array_push(x_114, x_115);
|
||||
|
|
@ -10895,7 +10895,7 @@ lean_ctor_set(x_118, 1, x_117);
|
|||
x_119 = lean_array_push(x_96, x_118);
|
||||
x_120 = l_myMacro____x40_Init_Notation___hyg_6360____closed__17;
|
||||
x_121 = lean_array_push(x_119, x_120);
|
||||
x_122 = l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
x_122 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
x_123 = lean_array_push(x_121, x_122);
|
||||
x_124 = l_Lean_Elab_Tactic_evalIntro___closed__6;
|
||||
x_125 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Tactic/Binders.c
generated
4
stage0/stdlib/Lean/Elab/Tactic/Binders.c
generated
|
|
@ -85,6 +85,7 @@ lean_object* l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBi
|
|||
lean_object* l___regBuiltin_Lean_Elab_Tactic_expandShowTactic(lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_expandLetRecTactic___closed__1;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
extern lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5535____closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_expandSufficesTactic(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_expandLetRecTactic___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -96,7 +97,6 @@ lean_object* l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBi
|
|||
lean_object* l_Lean_Elab_Tactic_expandShowTactic___closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_expandShowTactic___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_expandShowTactic___closed__1;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBinderSyntax_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
|
|
@ -194,7 +194,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBinderSyntax___closed__2;
|
||||
x_2 = l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Tactic/Induction.c
generated
4
stage0/stdlib/Lean/Elab/Tactic/Induction.c
generated
|
|
@ -526,7 +526,6 @@ lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__2___rarg(lean_obje
|
|||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_addInstMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_whnf___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_mkHole___closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_evalCases___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addTrace___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltCtorNames___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_liftMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -557,6 +556,7 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAlt
|
|||
lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getFType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getBindingName___boxed(lean_object*);
|
||||
|
|
@ -724,7 +724,7 @@ x_3 = l_Lean_Syntax_isOfKind(x_1, x_2);
|
|||
if (x_3 == 0)
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
x_4 = l_Lean_mkHole___closed__2;
|
||||
x_4 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
x_5 = l_Lean_Syntax_isOfKind(x_1, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Tactic/Match.c
generated
4
stage0/stdlib/Lean/Elab/Tactic/Match.c
generated
|
|
@ -76,10 +76,10 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch_
|
|||
extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__2;
|
||||
extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__18;
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_mkHole___closed__2;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_mkOptionalNode___closed__2;
|
||||
lean_object* lean_nat_mod(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__2;
|
||||
lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___lambda__1___closed__4;
|
||||
|
|
@ -273,7 +273,7 @@ x_12 = l_Lean_Syntax_isOfKind(x_10, x_11);
|
|||
if (x_12 == 0)
|
||||
{
|
||||
lean_object* x_13; uint8_t x_14;
|
||||
x_13 = l_Lean_mkHole___closed__2;
|
||||
x_13 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
lean_inc(x_10);
|
||||
x_14 = l_Lean_Syntax_isOfKind(x_10, x_13);
|
||||
if (x_14 == 0)
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Elab/Term.c
generated
8
stage0/stdlib/Lean/Elab/Term.c
generated
|
|
@ -490,7 +490,6 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_liftAttrM___rarg(lean_
|
|||
lean_object* l_Lean_Elab_Term_levelMVarToParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_strLitKind___closed__2;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2___closed__2;
|
||||
extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_withFreshMacroScope(lean_object*);
|
||||
lean_object* l_Lean_Name_toExprAux(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -858,6 +857,7 @@ extern lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__4;
|
|||
lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_synthesizeInst_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getLevel___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__3;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__1;
|
||||
lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1(lean_object*);
|
||||
|
|
@ -915,7 +915,6 @@ lean_object* l_Lean_Elab_Term_withoutMacroStackAtErr___rarg(lean_object*, lean_o
|
|||
lean_object* l_List_foldr___at_Lean_Elab_Term_isLetRecAuxMVar___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_TermElabM_toIO___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_applyResult_match__1(lean_object*);
|
||||
extern lean_object* l_Lean_mkHole___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_Lean_Elab_Term___instance__2(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decLevelImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabByTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -981,6 +980,7 @@ lean_object* l_Lean_Expr_getAppFn(lean_object*);
|
|||
lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__9;
|
||||
extern lean_object* l_Lean_Meta_Lean_Meta_Basic___instance__11___rarg___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21_match__1(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
lean_object* l_Lean_Meta_commitWhen___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5535____closed__1;
|
||||
extern lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__2;
|
||||
|
|
@ -7498,7 +7498,7 @@ static lean_object* _init_l_Lean_Elab_Term_mkExplicitBinder___closed__4() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
x_2 = l_Lean_mkAtom(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -29983,7 +29983,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Elab_Term_termElabAttribute;
|
||||
x_3 = l_Lean_mkHole___closed__2;
|
||||
x_3 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_elabHole___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Expr.c
generated
4
stage0/stdlib/Lean/Expr.c
generated
|
|
@ -131,6 +131,7 @@ uint8_t l_Lean_Level_hasMVar(lean_object*);
|
|||
lean_object* l_Lean_Expr_constName_x21___boxed(lean_object*);
|
||||
lean_object* l_Lean_Literal_type_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_withAppRev___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
uint64_t l_Lean_Expr_mkData___closed__3;
|
||||
lean_object* l_Lean_annotation_x3f___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Init_Prelude___instance__68;
|
||||
|
|
@ -280,7 +281,6 @@ lean_object* l_Lean_ExprStructEq_beq___boxed(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Lean_Expr___instance__2___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__7;
|
||||
extern lean_object* l_Lean_Name_appendIndexAfter___closed__1;
|
||||
lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux_match__1(lean_object*);
|
||||
lean_object* l_Lean_Expr_constLevels_x21_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_updateSort_x21(lean_object*, lean_object*);
|
||||
|
|
@ -5509,7 +5509,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Name_appendIndexAfter___closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
|
|||
492
stage0/stdlib/Lean/Message.c
generated
492
stage0/stdlib/Lean/Message.c
generated
|
|
@ -28,8 +28,6 @@ lean_object* l_Lean_addMessageContextPartial___rarg(lean_object*, lean_object*,
|
|||
lean_object* l_Lean_addMessageContextFull___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__5;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__5;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2;
|
||||
uint8_t l_Lean_MessageData_isNest(lean_object*);
|
||||
lean_object* l_Lean_KernelException_toMessageData___closed__19;
|
||||
extern lean_object* l_addParenHeuristic___closed__2;
|
||||
|
|
@ -41,20 +39,18 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_MessageLog_hasErrors_match__1___rarg(uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofList___closed__3;
|
||||
uint8_t l_USize_decEq(size_t, size_t);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__16;
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
lean_object* lean_io_error_to_string(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__8;
|
||||
lean_object* l_Lean_KernelException_toMessageData___closed__7;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__3;
|
||||
lean_object* l_Lean_MessageData_ofArray___boxed(lean_object*);
|
||||
lean_object* l_Lean_Message_toString___closed__3;
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStrChunks(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_format(lean_object*, lean_object*);
|
||||
lean_object* l_String_split___at_Lean_stringToMessageData___spec__1(lean_object*);
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__7;
|
||||
lean_object* l_Lean_Format_pretty(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_List_format___rarg___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
lean_object* l_Lean_MessageLog_hasErrors___boxed(lean_object*);
|
||||
lean_object* l_Lean_MessageData_formatAux_match__1___rarg___boxed(lean_object**);
|
||||
lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_MessageLog_getInfoMessages___spec__2(lean_object*, size_t, size_t, lean_object*);
|
||||
|
|
@ -66,20 +62,16 @@ lean_object* l_Lean_addMessageContextFull___rarg___lambda__2(lean_object*, lean_
|
|||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__13;
|
||||
lean_object* l_Lean_MessageLog_getInfoMessages_match__1(lean_object*);
|
||||
extern lean_object* l_Lean_List_format___rarg___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__12;
|
||||
lean_object* l_Std_PersistentArray_mapM___at_Lean_MessageLog_errorsToWarnings___spec__1(lean_object*);
|
||||
lean_object* l_Lean_Message_getMessageStringEx_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__3;
|
||||
lean_object* l_Lean_MessageData_joinSep_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_isNil_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkMVar(lean_object*);
|
||||
size_t l_USize_sub(size_t, size_t);
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__11;
|
||||
lean_object* l_Lean_Lean_Message___instance__25(lean_object*);
|
||||
lean_object* l_Std_PersistentArray_append___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__3;
|
||||
lean_object* l_Lean_MessageLog_hasErrors_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofList_match__1(lean_object*);
|
||||
extern lean_object* l_Std_PersistentArray_empty___closed__1;
|
||||
|
|
@ -89,7 +81,6 @@ lean_object* l_Lean_MessageData_nil;
|
|||
lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__9;
|
||||
lean_object* l_Lean_Lean_Message___instance__22(lean_object*);
|
||||
lean_object* l_Lean_MessageData_Lean_Message___instance__4(lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* l_Lean_KernelException_toMessageData___closed__43;
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
|
|
@ -108,19 +99,19 @@ uint8_t l_Lean_Message_severity___default;
|
|||
size_t l_USize_shiftRight(size_t, size_t);
|
||||
lean_object* l_Lean_Message_toString_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__14;
|
||||
lean_object* l_Lean_Lean_Message___instance__17___rarg(lean_object*);
|
||||
lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Lean_Message___instance__28(lean_object*);
|
||||
lean_object* l_Lean_KernelException_toMessageData___closed__20;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__15;
|
||||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
lean_object* l_Lean_MessageData_Lean_Message___instance__6(lean_object*);
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__4;
|
||||
lean_object* l_Lean_addMessageContextFull___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addMessageContextFull___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KernelException_toMessageData___closed__22;
|
||||
extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__3;
|
||||
lean_object* l_Lean_KernelException_toMessageData___closed__37;
|
||||
lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Format_sbracket___closed__2;
|
||||
|
|
@ -145,7 +136,6 @@ lean_object* l_Lean_KernelException_toMessageData___closed__46;
|
|||
lean_object* l_Lean_MessageLog_getInfoMessages_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_Lean_Message___instance__11;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__7;
|
||||
lean_object* l_Lean_MessageData_Lean_Message___instance__8(lean_object*);
|
||||
lean_object* l_Std_PersistentArray_foldlM___at_Lean_MessageLog_getInfoMessages___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Lean_Message___instance__24;
|
||||
|
|
@ -154,6 +144,7 @@ lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Message_caption___default;
|
||||
lean_object* l_Lean_MessageLog_errorsToWarnings_match__1___rarg(uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_isNil_match__1(lean_object*);
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageData_formatAux___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Lean_Message___instance__27_match__1(lean_object*, lean_object*);
|
||||
|
|
@ -188,6 +179,7 @@ lean_object* l_Lean_Lean_Message___instance__17(lean_object*);
|
|||
lean_object* l_List_map___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Message_toString___closed__4;
|
||||
lean_object* l_Lean_KernelException_toMessageData___closed__5;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__13;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__2;
|
||||
lean_object* l_Lean_MessageData_nil___closed__1;
|
||||
lean_object* l_Lean_KernelException_toMessageData___closed__33;
|
||||
|
|
@ -197,11 +189,9 @@ lean_object* l_Lean_KernelException_toMessageData___closed__14;
|
|||
extern lean_object* l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
lean_object* l_Lean_Lean_Message___instance__27___rarg___closed__1;
|
||||
lean_object* l_Lean_KernelException_toMessageData___closed__28;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Message_toString___closed__1;
|
||||
lean_object* l_Function_comp___rarg(lean_object*, lean_object*, lean_object*);
|
||||
size_t l_USize_shiftLeft(size_t, size_t);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__5;
|
||||
lean_object* l_Lean_Message_toString___closed__2;
|
||||
lean_object* l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1___boxed(lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageLog_toList___spec__4(lean_object*, size_t, size_t, lean_object*);
|
||||
|
|
@ -214,7 +204,6 @@ lean_object* l_Lean_Lean_Message___instance__27___rarg___closed__2;
|
|||
lean_object* l_Lean_MessageData_Lean_Message___instance__3___closed__2;
|
||||
lean_object* l_Lean_KernelException_toMessageData___closed__34;
|
||||
lean_object* l_Lean_MessageData_Lean_Message___instance__3___closed__1;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__1;
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Lean_MessageLog_hasErrors___spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_formatAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ppExpr(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -253,7 +242,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageLog_toList___spec__5___b
|
|||
lean_object* l_Lean_Message_getMessageStringEx___closed__1;
|
||||
lean_object* l_Lean_MessageLog_Lean_Message___instance__15___closed__1;
|
||||
lean_object* l_Lean_KernelException_toMessageData___closed__45;
|
||||
extern lean_object* l_Lean_nullKind___closed__2;
|
||||
lean_object* l_Lean_Lean_Message___instance__28___closed__3;
|
||||
lean_object* l_Lean_MessageData_format___closed__1;
|
||||
lean_object* l_Lean_MessageData_ofArray(lean_object*);
|
||||
|
|
@ -274,7 +262,6 @@ lean_object* l_Lean_addMessageContextPartial___rarg___lambda__2(lean_object*, le
|
|||
lean_object* l_Lean_KernelException_toMessageData___closed__8;
|
||||
lean_object* l_Lean_MessageLog_empty;
|
||||
lean_object* l_Lean_KernelException_toMessageData___closed__4;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
lean_object* l_Lean_MessageData_ofList_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_nestD(lean_object*);
|
||||
lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_MessageLog_toList___spec__3___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -289,7 +276,6 @@ lean_object* l_Lean_KernelException_toMessageData___closed__47;
|
|||
extern lean_object* l_EStateM_Init_Control_EState___instance__1___rarg___closed__2;
|
||||
extern lean_object* l_Lean_Format_sbracket___closed__4;
|
||||
lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__4;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__2;
|
||||
lean_object* l_Lean_Lean_Message___instance__27___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_Lean_Message___instance__7(lean_object*);
|
||||
|
|
@ -297,10 +283,10 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageLog_toList___spec__5(lea
|
|||
lean_object* l_Lean_Lean_Message___instance__27___rarg___closed__3;
|
||||
extern lean_object* l_Lean_ppGoal_pushPending___closed__1;
|
||||
lean_object* l_Lean_MessageData_Lean_Message___instance__3___lambda__1(lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageLog_getInfoMessages(lean_object*);
|
||||
lean_object* l_Lean_MessageData_Lean_Message___instance__10(lean_object*);
|
||||
lean_object* l_Std_PersistentArray_forM___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__11;
|
||||
lean_object* l_Lean_KernelException_toMessageData___closed__2;
|
||||
lean_object* l_Lean_MessageData_ofList___closed__4;
|
||||
extern lean_object* l_Lean_Format_paren___closed__4;
|
||||
|
|
@ -320,10 +306,10 @@ lean_object* l_Lean_KernelException_toMessageData___closed__35;
|
|||
lean_object* l_Lean_KernelException_toMessageData___closed__41;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__3;
|
||||
lean_object* l_Lean_ppTerm(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_isNest___boxed(lean_object*);
|
||||
lean_object* l_Std_PersistentArray_foldlM___at_Lean_MessageLog_getInfoMessages___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KernelException_toMessageData___closed__23;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
lean_object* l_Lean_MessageLog_hasErrors_match__1(lean_object*);
|
||||
lean_object* lean_name_mk_numeral(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Lean_Message___instance__28___closed__1;
|
||||
|
|
@ -333,7 +319,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageData_formatAux___spec__2
|
|||
lean_object* l_Lean_KernelException_toMessageData_match__1(lean_object*);
|
||||
lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_MessageLog_getInfoMessages___spec__3___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Lean_Message___instance__28___boxed(lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__2;
|
||||
lean_object* l_Lean_KernelException_toMessageData___closed__12;
|
||||
lean_object* l_Array_toList___rarg(lean_object*);
|
||||
lean_object* l_Lean_MessageLog_msgs___default;
|
||||
|
|
@ -353,10 +338,12 @@ lean_object* l_Lean_MessageLog_errorsToWarnings_match__1___rarg___boxed(lean_obj
|
|||
lean_object* l_Lean_MessageData_isNest_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_Lean_Message___instance__9_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__12;
|
||||
lean_object* l_Lean_addMessageContextFull___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Std_PersistentArray_anyMAux___at_Lean_MessageLog_hasErrors___spec__2(lean_object*);
|
||||
lean_object* l_Lean_MessageData_Lean_Message___instance__9(lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageData_formatAux___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__10;
|
||||
lean_object* l___private_Lean_Message_0__Lean_KernelException_mkCtx(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Lean_Message___instance__25___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_joinSep_match__1(lean_object*);
|
||||
|
|
@ -366,7 +353,6 @@ lean_object* l_Lean_KernelException_toMessageData_match__1___rarg(lean_object*,
|
|||
lean_object* l_Lean_KernelException_toMessageData___closed__44;
|
||||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Init_Prelude___instance__74___closed__1;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__1;
|
||||
lean_object* l_Lean_Message_toString___closed__5;
|
||||
lean_object* lean_usize_to_nat(size_t);
|
||||
lean_object* lean_message_pos(lean_object*);
|
||||
|
|
@ -424,7 +410,7 @@ lean_object* l_Lean_mkErrorStringWithPos(lean_object* x_1, lean_object* x_2, lea
|
|||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
x_5 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_5 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
x_6 = lean_string_append(x_1, x_5);
|
||||
x_7 = l_Nat_repr(x_2);
|
||||
x_8 = lean_string_append(x_6, x_7);
|
||||
|
|
@ -433,7 +419,7 @@ x_9 = lean_string_append(x_8, x_5);
|
|||
x_10 = l_Nat_repr(x_3);
|
||||
x_11 = lean_string_append(x_9, x_10);
|
||||
lean_dec(x_10);
|
||||
x_12 = l___private_Init_Util_0__mkPanicMessage___closed__3;
|
||||
x_12 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_13 = lean_string_append(x_11, x_12);
|
||||
x_14 = lean_string_append(x_13, x_4);
|
||||
return x_14;
|
||||
|
|
@ -7519,7 +7505,7 @@ static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____c
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("msg!");
|
||||
x_1 = lean_mk_string("m!");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -7569,169 +7555,30 @@ x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__12;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_5 = l_Array_empty___closed__1;
|
||||
x_6 = lean_array_push(x_5, x_1);
|
||||
x_7 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2;
|
||||
x_8 = lean_array_push(x_6, x_7);
|
||||
x_9 = lean_array_push(x_8, x_2);
|
||||
x_10 = l___kind_term____x40_Init_Notation___hyg_4161____closed__1;
|
||||
x_11 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_11, 0, x_10);
|
||||
lean_ctor_set(x_11, 1, x_9);
|
||||
x_12 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_12, 0, x_11);
|
||||
lean_ctor_set(x_12, 1, x_4);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("toMessageData");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__1;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__2;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("ToMessageData");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
x_5 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_3);
|
||||
x_7 = l_myMacro____x40_Init_Notation___hyg_38____closed__3;
|
||||
lean_inc(x_1);
|
||||
x_8 = lean_name_mk_string(x_1, x_7);
|
||||
x_9 = l_myMacro____x40_Init_Notation___hyg_38____closed__5;
|
||||
x_10 = lean_name_mk_string(x_8, x_9);
|
||||
x_11 = l_myMacro____x40_Init_Notation___hyg_38____closed__7;
|
||||
x_12 = lean_name_mk_string(x_10, x_11);
|
||||
x_13 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__4;
|
||||
x_14 = l_Lean_addMacroScope(x_6, x_13, x_5);
|
||||
x_15 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__5;
|
||||
x_16 = lean_name_mk_string(x_1, x_15);
|
||||
x_17 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__1;
|
||||
x_18 = lean_name_mk_string(x_16, x_17);
|
||||
x_19 = lean_box(0);
|
||||
x_20 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_18);
|
||||
lean_ctor_set(x_20, 1, x_19);
|
||||
x_21 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_20);
|
||||
lean_ctor_set(x_21, 1, x_19);
|
||||
x_22 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_23 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__3;
|
||||
x_24 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_24, 0, x_22);
|
||||
lean_ctor_set(x_24, 1, x_23);
|
||||
lean_ctor_set(x_24, 2, x_14);
|
||||
lean_ctor_set(x_24, 3, x_21);
|
||||
x_25 = l_Array_empty___closed__1;
|
||||
x_26 = lean_array_push(x_25, x_24);
|
||||
x_27 = lean_array_push(x_25, x_2);
|
||||
x_28 = l_Lean_nullKind___closed__2;
|
||||
x_29 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_28);
|
||||
lean_ctor_set(x_29, 1, x_27);
|
||||
x_30 = lean_array_push(x_26, x_29);
|
||||
x_31 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_12);
|
||||
lean_ctor_set(x_31, 1, x_30);
|
||||
x_32 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_31);
|
||||
lean_ctor_set(x_32, 1, x_4);
|
||||
return x_32;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2), 4, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__1___boxed), 4, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("MessageData");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__4() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__1;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__5() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__1;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__4;
|
||||
x_3 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__2;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -7739,13 +7586,35 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__2;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__5;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
|
|
@ -7753,30 +7622,101 @@ static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____close
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__2;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__6;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("toMessageData");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__8;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__8;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__9;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__7;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__8;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("ToMessageData");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__2;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__12;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__13;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__8;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__14;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__9() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__8;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__15;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
|
|
@ -7823,156 +7763,40 @@ return x_13;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29;
|
||||
x_14 = lean_unsigned_to_nat(1u);
|
||||
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
|
||||
lean_dec(x_1);
|
||||
x_16 = l_Lean_Syntax_getArgs(x_15);
|
||||
x_16 = lean_ctor_get(x_2, 2);
|
||||
lean_inc(x_16);
|
||||
x_17 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_17);
|
||||
x_18 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__4;
|
||||
lean_inc(x_16);
|
||||
lean_inc(x_17);
|
||||
x_19 = l_Lean_addMacroScope(x_17, x_18, x_16);
|
||||
x_20 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_21 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3;
|
||||
x_22 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__7;
|
||||
x_23 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_23, 0, x_20);
|
||||
lean_ctor_set(x_23, 1, x_21);
|
||||
lean_ctor_set(x_23, 2, x_19);
|
||||
lean_ctor_set(x_23, 3, x_22);
|
||||
x_24 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__11;
|
||||
x_25 = l_Lean_addMacroScope(x_17, x_24, x_16);
|
||||
x_26 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__10;
|
||||
x_27 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__16;
|
||||
x_28 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_28, 0, x_20);
|
||||
lean_ctor_set(x_28, 1, x_26);
|
||||
lean_ctor_set(x_28, 2, x_25);
|
||||
lean_ctor_set(x_28, 3, x_27);
|
||||
x_29 = l_Lean_Syntax_expandInterpolatedStr(x_15, x_23, x_28, x_2, x_3);
|
||||
lean_dec(x_15);
|
||||
x_17 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__2;
|
||||
x_18 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__1;
|
||||
lean_inc(x_2);
|
||||
x_19 = l_Lean_Syntax_expandInterpolatedStrChunks(x_16, x_17, x_18, x_2, x_3);
|
||||
lean_dec(x_16);
|
||||
if (lean_obj_tag(x_19) == 0)
|
||||
{
|
||||
uint8_t x_20;
|
||||
x_20 = !lean_is_exclusive(x_19);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46;
|
||||
x_21 = lean_ctor_get(x_19, 0);
|
||||
x_22 = lean_ctor_get(x_2, 2);
|
||||
lean_inc(x_22);
|
||||
x_23 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_2);
|
||||
x_24 = l_Array_empty___closed__1;
|
||||
x_25 = lean_array_push(x_24, x_21);
|
||||
x_26 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__6;
|
||||
x_27 = l_Lean_addMacroScope(x_23, x_26, x_22);
|
||||
x_28 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_29 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__5;
|
||||
x_30 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__9;
|
||||
x_31 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_31, 0, x_28);
|
||||
lean_ctor_set(x_31, 1, x_29);
|
||||
lean_ctor_set(x_31, 2, x_27);
|
||||
lean_ctor_set(x_31, 3, x_30);
|
||||
x_32 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_33 = lean_array_push(x_32, x_31);
|
||||
x_34 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_35 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_35, 0, x_34);
|
||||
lean_ctor_set(x_35, 1, x_33);
|
||||
x_36 = lean_array_push(x_24, x_35);
|
||||
x_37 = l_Lean_nullKind___closed__2;
|
||||
x_38 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_38, 0, x_37);
|
||||
lean_ctor_set(x_38, 1, x_36);
|
||||
x_39 = lean_array_push(x_25, x_38);
|
||||
x_40 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_37);
|
||||
lean_ctor_set(x_40, 1, x_39);
|
||||
x_41 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
x_42 = lean_array_push(x_41, x_40);
|
||||
x_43 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12;
|
||||
x_44 = lean_array_push(x_42, x_43);
|
||||
x_45 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8;
|
||||
x_46 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_46, 0, x_45);
|
||||
lean_ctor_set(x_46, 1, x_44);
|
||||
lean_ctor_set(x_19, 0, x_46);
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74;
|
||||
x_47 = lean_ctor_get(x_19, 0);
|
||||
x_48 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_48);
|
||||
lean_inc(x_47);
|
||||
lean_dec(x_19);
|
||||
x_49 = lean_ctor_get(x_2, 2);
|
||||
lean_inc(x_49);
|
||||
x_50 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_50);
|
||||
lean_dec(x_2);
|
||||
x_51 = l_Array_empty___closed__1;
|
||||
x_52 = lean_array_push(x_51, x_47);
|
||||
x_53 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__6;
|
||||
x_54 = l_Lean_addMacroScope(x_50, x_53, x_49);
|
||||
x_55 = l_Lean_Init_Prelude___instance__72___closed__1;
|
||||
x_56 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__5;
|
||||
x_57 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__9;
|
||||
x_58 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_58, 0, x_55);
|
||||
lean_ctor_set(x_58, 1, x_56);
|
||||
lean_ctor_set(x_58, 2, x_54);
|
||||
lean_ctor_set(x_58, 3, x_57);
|
||||
x_59 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_60 = lean_array_push(x_59, x_58);
|
||||
x_61 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_62 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_62, 0, x_61);
|
||||
lean_ctor_set(x_62, 1, x_60);
|
||||
x_63 = lean_array_push(x_51, x_62);
|
||||
x_64 = l_Lean_nullKind___closed__2;
|
||||
x_65 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_65, 0, x_64);
|
||||
lean_ctor_set(x_65, 1, x_63);
|
||||
x_66 = lean_array_push(x_52, x_65);
|
||||
x_67 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_67, 0, x_64);
|
||||
lean_ctor_set(x_67, 1, x_66);
|
||||
x_68 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9;
|
||||
x_69 = lean_array_push(x_68, x_67);
|
||||
x_70 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12;
|
||||
x_71 = lean_array_push(x_69, x_70);
|
||||
x_72 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8;
|
||||
x_73 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_73, 0, x_72);
|
||||
lean_ctor_set(x_73, 1, x_71);
|
||||
x_74 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_74, 0, x_73);
|
||||
lean_ctor_set(x_74, 1, x_48);
|
||||
return x_74;
|
||||
return x_29;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_75;
|
||||
lean_dec(x_2);
|
||||
x_75 = !lean_is_exclusive(x_19);
|
||||
if (x_75 == 0)
|
||||
{
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_76; lean_object* x_77; lean_object* x_78;
|
||||
x_76 = lean_ctor_get(x_19, 0);
|
||||
x_77 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_77);
|
||||
lean_inc(x_76);
|
||||
lean_dec(x_19);
|
||||
x_78 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_78, 0, x_76);
|
||||
lean_ctor_set(x_78, 1, x_77);
|
||||
return x_78;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__1(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init(lean_object*);
|
||||
|
|
@ -8235,16 +8059,6 @@ l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__12 = _init_l_Lean__
|
|||
lean_mark_persistent(l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__12);
|
||||
l_Lean___kind_term____x40_Lean_Message___hyg_1842_ = _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842_();
|
||||
lean_mark_persistent(l_Lean___kind_term____x40_Lean_Message___hyg_1842_);
|
||||
l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__1 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__1();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__1);
|
||||
l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__2 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__2();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__2);
|
||||
l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__3 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__3();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__3);
|
||||
l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__4 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__4();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__4);
|
||||
l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__5 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__5();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__5);
|
||||
l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__1 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__1();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__1);
|
||||
l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__2 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__2();
|
||||
|
|
@ -8263,6 +8077,20 @@ l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__8 = _init_l_Lean_myMacr
|
|||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__8);
|
||||
l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__9 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__9();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__9);
|
||||
l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__10 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__10();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__10);
|
||||
l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__11 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__11();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__11);
|
||||
l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__12 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__12();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__12);
|
||||
l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__13 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__13();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__13);
|
||||
l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__14 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__14();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__14);
|
||||
l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__15 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__15();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__15);
|
||||
l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__16 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__16();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__16);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
2929
stage0/stdlib/Lean/Meta/Match/Match.c
generated
2929
stage0/stdlib/Lean/Meta/Match/Match.c
generated
File diff suppressed because it is too large
Load diff
2878
stage0/stdlib/Lean/Meta/Match/MatcherInfo.c
generated
Normal file
2878
stage0/stdlib/Lean/Meta/Match/MatcherInfo.c
generated
Normal file
File diff suppressed because it is too large
Load diff
46
stage0/stdlib/Lean/Meta/RecursorInfo.c
generated
46
stage0/stdlib/Lean/Meta/RecursorInfo.c
generated
|
|
@ -14,7 +14,6 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Array_qsort_sort___at_Lean_registerParametricAttribute___spec__2___rarg___closed__1;
|
||||
lean_object* l_Lean_Meta_recursorAttribute;
|
||||
lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getNumParams___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -86,6 +85,7 @@ lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_checkMotive___close
|
|||
lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_checkMotiveResultType___closed__1;
|
||||
lean_object* l_Lean_Meta_RecursorInfo_numParams(lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2050____spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2050____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
|
|
@ -97,7 +97,6 @@ lean_object* l_List_range(lean_object*);
|
|||
lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_checkMotive___closed__4;
|
||||
extern lean_object* l_Lean_Expr_getAppArgs___closed__1;
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_995____spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_Lean_Meta_RecursorInfo___instance__2___spec__6___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -195,6 +194,7 @@ lean_object* l_List_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Met
|
|||
lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___spec__1___closed__2;
|
||||
lean_object* l_Lean_Meta_RecursorInfo_numMinors___boxed(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getNumParams(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__5___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getUnivLevelPos___spec__1___closed__2;
|
||||
|
|
@ -345,7 +345,6 @@ lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getUnivLevelPos___b
|
|||
lean_object* l_Array_getIdx_x3f___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkRecursorInfo_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_RecursorInfo_Lean_Meta_RecursorInfo___instance__2___closed__4;
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___spec__2___closed__1;
|
||||
extern lean_object* l_Lean_Meta_Lean_Meta_Basic___instance__11___rarg___closed__2;
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2050____lambda__3(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1523,7 +1522,7 @@ x_82 = lean_string_append(x_80, x_81);
|
|||
x_83 = lean_string_append(x_82, x_40);
|
||||
lean_dec(x_40);
|
||||
x_84 = lean_string_append(x_83, x_7);
|
||||
x_85 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_85 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_86 = lean_string_append(x_84, x_85);
|
||||
return x_86;
|
||||
}
|
||||
|
|
@ -3264,23 +3263,6 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_RecursorInfo_0__Lean_Meta
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_9 = lean_unsigned_to_nat(1u);
|
||||
x_10 = lean_nat_add(x_2, x_9);
|
||||
x_11 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_11, 0, x_1);
|
||||
lean_ctor_set(x_11, 1, x_10);
|
||||
x_12 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_12, 0, x_11);
|
||||
x_13 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_12);
|
||||
lean_ctor_set(x_13, 1, x_8);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -3333,7 +3315,7 @@ lean_inc(x_21);
|
|||
lean_dec(x_18);
|
||||
x_22 = lean_box(0);
|
||||
lean_inc(x_2);
|
||||
x_23 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1(x_2, x_16, x_22, x_7, x_8, x_9, x_10, x_21);
|
||||
x_23 = l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___lambda__1(x_2, x_16, x_22, x_7, x_8, x_9, x_10, x_21);
|
||||
lean_dec(x_16);
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc(x_24);
|
||||
|
|
@ -3447,7 +3429,7 @@ lean_inc(x_44);
|
|||
lean_dec(x_41);
|
||||
x_45 = lean_box(0);
|
||||
lean_inc(x_2);
|
||||
x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1(x_2, x_40, x_45, x_7, x_8, x_9, x_10, x_44);
|
||||
x_46 = l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___lambda__1(x_2, x_40, x_45, x_7, x_8, x_9, x_10, x_44);
|
||||
lean_dec(x_40);
|
||||
x_47 = lean_ctor_get(x_46, 0);
|
||||
lean_inc(x_47);
|
||||
|
|
@ -3909,20 +3891,6 @@ return x_25;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_9;
|
||||
x_9 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -4040,7 +4008,7 @@ lean_inc(x_21);
|
|||
lean_dec(x_18);
|
||||
x_22 = lean_box(0);
|
||||
lean_inc(x_2);
|
||||
x_23 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1(x_2, x_16, x_22, x_7, x_8, x_9, x_10, x_21);
|
||||
x_23 = l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___lambda__1(x_2, x_16, x_22, x_7, x_8, x_9, x_10, x_21);
|
||||
lean_dec(x_16);
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc(x_24);
|
||||
|
|
@ -4154,7 +4122,7 @@ lean_inc(x_44);
|
|||
lean_dec(x_41);
|
||||
x_45 = lean_box(0);
|
||||
lean_inc(x_2);
|
||||
x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1(x_2, x_40, x_45, x_7, x_8, x_9, x_10, x_44);
|
||||
x_46 = l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___lambda__1(x_2, x_40, x_45, x_7, x_8, x_9, x_10, x_44);
|
||||
lean_dec(x_40);
|
||||
x_47 = lean_ctor_get(x_46, 0);
|
||||
lean_inc(x_47);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Meta/Tactic/Rewrite.c
generated
4
stage0/stdlib/Lean/Meta/Tactic/Rewrite.c
generated
|
|
@ -76,6 +76,7 @@ lean_object* l_Lean_Expr_toHeadIndex(lean_object*);
|
|||
lean_object* l_Lean_Meta_mkEqNDRec___at_Lean_Meta_rewrite___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
lean_object* l_Lean_Meta_rewrite_match__1(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Core___hyg_185____closed__4;
|
||||
lean_object* l_Lean_Meta_rewrite___lambda__4___closed__7;
|
||||
lean_object* l_Lean_Meta_matchEq_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -86,7 +87,6 @@ uint8_t l_Lean_Expr_isMVar(lean_object*);
|
|||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_rewrite___lambda__4___closed__4;
|
||||
lean_object* l_Lean_mkApp(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Core___hyg_190____closed__4;
|
||||
lean_object* l_Lean_Meta_rewrite___lambda__2___closed__5;
|
||||
lean_object* l_Lean_Meta_rewrite_match__3(lean_object*);
|
||||
extern lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_reorderNonDependentFirst___closed__1;
|
||||
|
|
@ -1543,7 +1543,7 @@ x_25 = lean_ctor_get(x_21, 1);
|
|||
lean_inc(x_25);
|
||||
lean_dec(x_21);
|
||||
x_26 = l_Lean_mkAppN(x_1, x_23);
|
||||
x_27 = l_myMacro____x40_Init_Core___hyg_190____closed__4;
|
||||
x_27 = l_myMacro____x40_Init_Core___hyg_185____closed__4;
|
||||
x_28 = lean_unsigned_to_nat(2u);
|
||||
x_29 = l_Lean_Expr_isAppOfArity(x_25, x_27, x_28);
|
||||
if (x_29 == 0)
|
||||
|
|
|
|||
9410
stage0/stdlib/Lean/Meta/WHNF.c
generated
9410
stage0/stdlib/Lean/Meta/WHNF.c
generated
File diff suppressed because it is too large
Load diff
4
stage0/stdlib/Lean/Parser/Basic.c
generated
4
stage0/stdlib/Lean/Parser/Basic.c
generated
|
|
@ -438,7 +438,6 @@ lean_object* l_Lean_Parser_strLitFn(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Parser_mkAntiquot___closed__12;
|
||||
lean_object* l_Lean_Parser_ParserState_mkErrorAt_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_charLit___closed__3;
|
||||
extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
lean_object* l_Lean_Parser_FirstTokens_seq_match__1(lean_object*);
|
||||
lean_object* l_Lean_Parser_ParserContext_savedPos_x3f___default;
|
||||
size_t l_Lean_Name_hash(lean_object*);
|
||||
|
|
@ -737,6 +736,7 @@ lean_object* l_Array_qsort_sort___at_Lean_Parser_Error_toString___spec__1(lean_o
|
|||
lean_object* l_Std_RBNode_ins___at_Lean_Parser_TokenMap_insert___spec__6___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Lean_Parser_Basic___instance__6___rarg___boxed(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
lean_object* l_Lean_Parser_epsilonInfo___closed__2;
|
||||
lean_object* l_Lean_Parser_rawCh___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_numberFnAux___closed__1;
|
||||
|
|
@ -26814,7 +26814,7 @@ static lean_object* _init_l_Lean_Parser_mkAntiquot___closed__5() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
x_2 = l_String_trim(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Parser/Extra.c
generated
4
stage0/stdlib/Lean/Parser/Extra.c
generated
|
|
@ -146,7 +146,6 @@ lean_object* l_Lean_PrettyPrinter_Formatter_toggleInsideQuot_formatter(lean_obje
|
|||
lean_object* l_Lean_PrettyPrinter_Formatter_node_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__6;
|
||||
lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__16;
|
||||
extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
lean_object* l_Lean_Parser_manyIndent(lean_object*);
|
||||
lean_object* l_Lean_Parser_antiquotNestedExpr_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_ppSpace;
|
||||
|
|
@ -255,6 +254,7 @@ lean_object* l_Lean_Parser_ident_parenthesizer(lean_object*, lean_object*, lean_
|
|||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__3;
|
||||
lean_object* l_Lean_PrettyPrinter_Formatter_checkNoImmediateColon_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_196____closed__30;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2392____closed__32;
|
||||
lean_object* lean_name_mk_numeral(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_numLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -684,7 +684,7 @@ static lean_object* _init_l_Lean_Parser_mkAntiquot_formatter___closed__8() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter___boxed), 6, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
|
|||
14
stage0/stdlib/Lean/Parser/Level.c
generated
14
stage0/stdlib/Lean/Parser/Level.c
generated
|
|
@ -52,6 +52,7 @@ extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1841
|
|||
lean_object* l_Lean_Parser_Level_imax___closed__7;
|
||||
lean_object* l_Lean_Parser_nonReservedSymbolFn(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltinParser_Lean_Parser_Level_max(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
lean_object* l_Lean_Parser_Level_max___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Parser_Level_hole_formatter___closed__1;
|
||||
lean_object* l_Lean_Parser_Level_ident_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -107,7 +108,6 @@ lean_object* l_Lean_Parser_Level_addLit_formatter___closed__1;
|
|||
lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Parser_Level_ident___closed__3;
|
||||
lean_object* l___regBuiltinParser_Lean_Parser_Level_paren(lean_object*);
|
||||
extern lean_object* l_Lean_Name_appendIndexAfter___closed__1;
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_4____closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Level_num_formatter___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Level_paren_formatter___closed__1;
|
||||
|
|
@ -196,11 +196,11 @@ lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__10;
|
|||
lean_object* l___regBuiltin_Lean_Parser_Level_ident_formatter___closed__1;
|
||||
lean_object* l_Lean_Parser_Level_paren_parenthesizer___closed__5;
|
||||
lean_object* l_Lean_Parser_symbolInfo(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
lean_object* l_Lean_Parser_orelseFnCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_epsilonInfo;
|
||||
lean_object* l_Lean_Parser_Level_max___elambda__1___closed__10;
|
||||
lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__6;
|
||||
extern lean_object* l_Lean_mkHole___closed__1;
|
||||
lean_object* l_Lean_Parser_categoryParser___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Level_hole___elambda__1___closed__7;
|
||||
lean_object* l___regBuiltinParser_Lean_Parser_Level_addLit(lean_object*);
|
||||
|
|
@ -1520,7 +1520,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1___closed__2;
|
||||
x_2 = l_Lean_mkHole___closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -1539,7 +1539,7 @@ static lean_object* _init_l_Lean_Parser_Level_hole___elambda__1___closed__3() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_mkHole___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_2 = l_Lean_Parser_Level_hole___elambda__1___closed__2;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
|
|
@ -1550,7 +1550,7 @@ static lean_object* _init_l_Lean_Parser_Level_hole___elambda__1___closed__4() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Name_appendIndexAfter___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
x_2 = l_String_trim(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -1688,7 +1688,7 @@ static lean_object* _init_l_Lean_Parser_Level_hole_formatter___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_mkHole___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_2 = l_Lean_Parser_Level_hole___elambda__1___closed__2;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -1703,7 +1703,7 @@ static lean_object* _init_l_Lean_Parser_Level_hole_formatter___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Name_appendIndexAfter___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter___boxed), 6, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
|
|||
174
stage0/stdlib/Lean/Parser/Term.c
generated
174
stage0/stdlib/Lean/Parser/Term.c
generated
|
|
@ -104,6 +104,7 @@ lean_object* l_Lean_Parser_Term_proj_parenthesizer(lean_object*, lean_object*, l
|
|||
lean_object* l_Lean_Parser_Term_letrec_formatter___closed__9;
|
||||
lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__2;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_explicit_formatter(lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
lean_object* l_Lean_Parser_Term_cdot___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_char___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_suffices___closed__1;
|
||||
|
|
@ -223,11 +224,11 @@ lean_object* l_Lean_Parser_Term_fun___closed__7;
|
|||
extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__6;
|
||||
lean_object* l_Lean_Parser_Term_parser_x21___elambda__1___closed__6;
|
||||
lean_object* l_Lean_Parser_Term_match__syntax_parenthesizer___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__3;
|
||||
lean_object* l_Lean_Parser_Term_syntheticHole_formatter___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_arrow___closed__5;
|
||||
lean_object* l_Lean_Parser_Term_inaccessible___closed__1;
|
||||
lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__11;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
lean_object* l_Lean_Parser_Term_letrec___elambda__1___closed__6;
|
||||
lean_object* l_Lean_Parser_Term_parser_x21_formatter___closed__4;
|
||||
lean_object* l_Lean_Parser_Term_not___closed__6;
|
||||
|
|
@ -615,6 +616,7 @@ lean_object* l_Lean_Parser_Term_letPatDecl___closed__4;
|
|||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_withoutPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_attributes_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__4;
|
||||
lean_object* l_Lean_Parser_Term_letRecDecls;
|
||||
lean_object* l_Lean_Parser_Term_quotedName___closed__5;
|
||||
lean_object* l_Lean_Parser_Term_attributes___closed__7;
|
||||
|
|
@ -669,11 +671,11 @@ lean_object* l_Lean_Parser_Term_letRecDecls_formatter___closed__2;
|
|||
lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__6;
|
||||
lean_object* l_Lean_Parser_Term_fun_formatter___closed__6;
|
||||
lean_object* l_Lean_Parser_Term_match___elambda__1___closed__11;
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
lean_object* l_Lean_Parser_Term_dollar_formatter___closed__4;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Expr_ctorName___closed__4;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_dollarProj_formatter___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__9;
|
||||
lean_object* l___regBuiltinParser_Lean_Parser_Term_let_x21(lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_let___elambda__1___closed__7;
|
||||
lean_object* l_Lean_Parser_Term_suffices_parenthesizer___closed__2;
|
||||
|
|
@ -699,7 +701,6 @@ lean_object* l_Lean_Parser_Level_quot_formatter___closed__1;
|
|||
lean_object* l_Lean_Parser_Term_syntheticHole___closed__7;
|
||||
lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__7;
|
||||
extern lean_object* l_Lean_Parser_leadPrec___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__8;
|
||||
lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__8;
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_dbgTrace___closed__6;
|
||||
|
|
@ -950,6 +951,7 @@ lean_object* l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__6;
|
|||
lean_object* l_Lean_Parser_Term_basicFun_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_inaccessible;
|
||||
lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__4;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__7;
|
||||
extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1841____closed__15;
|
||||
lean_object* l_Lean_Parser_Term_structInst_formatter___closed__8;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_type_formatter(lean_object*);
|
||||
|
|
@ -1067,7 +1069,6 @@ lean_object* l_Lean_Parser_Term_letPatDecl___closed__1;
|
|||
lean_object* l___regBuiltin_Lean_Parser_Term_namedPattern_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Term_ellipsis___elambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_binderType___elambda__1(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__10;
|
||||
lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__6;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_hole_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__5;
|
||||
|
|
@ -1102,6 +1103,7 @@ lean_object* l_Lean_Parser_Term_hole___closed__4;
|
|||
lean_object* l_Lean_Parser_Term_structInstLVal___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_fun___closed__6;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_dollar_parenthesizer(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__5;
|
||||
lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__6;
|
||||
extern lean_object* l_Lean_Parser_numLit___closed__2;
|
||||
lean_object* l_Lean_Parser_Tactic_quotSeq_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1536,6 +1538,7 @@ lean_object* l_Lean_Parser_Term_cdot_formatter___closed__2;
|
|||
lean_object* l_Lean_Parser_Term_typeSpec_formatter___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_depArrow___closed__2;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
lean_object* l___regBuiltinParser_Lean_Parser_Term_let_x2a(lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_panic___closed__4;
|
||||
lean_object* l_Lean_Parser_Term_have_formatter___closed__5;
|
||||
|
|
@ -1892,7 +1895,6 @@ lean_object* l_Lean_Parser_Term_sorry_parenthesizer___closed__1;
|
|||
lean_object* l_Lean_Parser_Term_matchAlts_formatter___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_nativeDecide___elambda__1___closed__7;
|
||||
lean_object* l_Lean_Parser_Term_explicitUniv___closed__4;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
lean_object* l_Lean_Parser_Term_hole_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_nomatch_formatter___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_optExprPrecedence___closed__3;
|
||||
|
|
@ -1972,6 +1974,7 @@ lean_object* l_Lean_Parser_Term_hole___elambda__1___closed__1;
|
|||
lean_object* l_Lean_Parser_Term_letPatDecl_formatter___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_namedArgument___closed__2;
|
||||
extern lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__12;
|
||||
lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__5;
|
||||
lean_object* l_Lean_Parser_Term_letEqnsDecl;
|
||||
lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1___closed__1;
|
||||
|
|
@ -2400,7 +2403,6 @@ lean_object* l_Lean_Parser_Term_depArrow_formatter___closed__3;
|
|||
lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_binderDefault___elambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_nomatch___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
lean_object* l_Lean_Parser_Term_haveDecl___closed__1;
|
||||
lean_object* l_Lean_Parser_Term_bracketedBinder_parenthesizer(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_emptyC_formatter___closed__3;
|
||||
|
|
@ -2421,7 +2423,6 @@ lean_object* l_Lean_Parser_Term_let_x2a___elambda__1___closed__9;
|
|||
lean_object* l_Lean_Parser_Term_binderType___boxed(lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_funImplicitBinder___closed__4;
|
||||
lean_object* l_Lean_Parser_Term_letDecl_formatter___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__25;
|
||||
lean_object* l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Term_char_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_paren_formatter___closed__1;
|
||||
|
|
@ -2433,6 +2434,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_match__syntax(lean_object*);
|
|||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4____closed__3;
|
||||
lean_object* l_Lean_Parser_Term_sort___closed__6;
|
||||
lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__7;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
lean_object* l_Lean_Parser_Term_simpleBinder_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__9;
|
||||
lean_object* l_Lean_Parser_Term_decide_formatter___closed__2;
|
||||
|
|
@ -2638,6 +2640,7 @@ lean_object* l_Lean_Parser_symbolInfo(lean_object*);
|
|||
lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__8;
|
||||
lean_object* l_Lean_Parser_Term_optIdent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_explicit_formatter___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
lean_object* l_Lean_Parser_Term_match___closed__9;
|
||||
lean_object* l_Lean_Parser_Term_tupleTail___closed__5;
|
||||
lean_object* l_Lean_Parser_charLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2716,7 +2719,6 @@ lean_object* l_Lean_Parser_Term_matchAlts_formatter___closed__9;
|
|||
lean_object* l_Lean_Parser_Term_letIdDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltinParser_Lean_Parser_Tactic_quotSeq(lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_attributes_parenthesizer___closed__2;
|
||||
extern lean_object* l_Lean_mkHole___closed__1;
|
||||
lean_object* l_Lean_Parser_Term_basicFun___closed__3;
|
||||
lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__11;
|
||||
lean_object* l_Lean_Parser_Term_forall___closed__4;
|
||||
|
|
@ -3024,7 +3026,6 @@ lean_object* l_Lean_Parser_Term_sort_parenthesizer(lean_object*, lean_object*, l
|
|||
lean_object* l_Lean_Parser_Term_attrInstance_parenthesizer___closed__5;
|
||||
lean_object* l_Lean_Parser_Term_basicFun_formatter___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_anonymousCtor_parenthesizer___closed__2;
|
||||
extern lean_object* l_Lean_mkHole___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_parenSpecial___elambda__1___closed__1;
|
||||
extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2048____closed__3;
|
||||
lean_object* l_Lean_Parser_Term_type___closed__5;
|
||||
|
|
@ -3052,7 +3053,6 @@ lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__6;
|
|||
lean_object* l_Lean_Parser_Term_have___elambda__1___closed__5;
|
||||
lean_object* l_Lean_Parser_Term_fun_parenthesizer___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_optExprPrecedence_parenthesizer___closed__2;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__9;
|
||||
lean_object* l_Lean_Parser_Term_structInstField_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Term_syntheticHole___elambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___closed__5;
|
||||
|
|
@ -3178,7 +3178,6 @@ lean_object* l_Lean_Parser_Term_depArrow___elambda__1(lean_object*, lean_object*
|
|||
lean_object* l_Lean_Parser_Term_app___elambda__1___closed__5;
|
||||
lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer___closed__5;
|
||||
lean_object* l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_letrec___closed__6;
|
||||
lean_object* l_Lean_Parser_Term_simpleBinderWithoutType___closed__1;
|
||||
|
|
@ -3206,6 +3205,7 @@ lean_object* l_Lean_Parser_Term_type___closed__4;
|
|||
lean_object* l_Lean_Parser_Term_fun_formatter___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_optSemicolon_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_paren___elambda__1(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
lean_object* l_Lean_Parser_Tactic_tacticSeq___closed__3;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__10;
|
||||
lean_object* l_Lean_Parser_Term_namedArgument_parenthesizer___closed__3;
|
||||
|
|
@ -4505,7 +4505,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_2 = l_String_trim(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -5310,7 +5310,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___cl
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter___boxed), 6, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -7672,7 +7672,7 @@ static lean_object* _init_l_Lean_Parser_Term_hole___elambda__1___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_mkHole___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -7682,7 +7682,7 @@ static lean_object* _init_l_Lean_Parser_Term_hole___elambda__1___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_mkHole___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_2 = l_Lean_Parser_Term_hole___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
|
|
@ -7693,7 +7693,7 @@ static lean_object* _init_l_Lean_Parser_Term_hole___elambda__1___closed__3() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_mkHole___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
x_2 = l_Lean_Parser_Level_hole___elambda__1___closed__5;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -7730,7 +7730,7 @@ static lean_object* _init_l_Lean_Parser_Term_hole___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_mkHole___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
x_2 = l_Lean_Parser_Level_hole___closed__1;
|
||||
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -7791,7 +7791,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___kind_term____x40_Init_Notation___hyg_3____closed__16;
|
||||
x_3 = l_Lean_mkHole___closed__2;
|
||||
x_3 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_Term_hole;
|
||||
x_6 = lean_unsigned_to_nat(0u);
|
||||
|
|
@ -7803,7 +7803,7 @@ static lean_object* _init_l_Lean_Parser_Term_hole_formatter___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_mkHole___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12;
|
||||
x_2 = l_Lean_Parser_Term_hole___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -7818,7 +7818,7 @@ static lean_object* _init_l_Lean_Parser_Term_hole_formatter___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_mkHole___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Level_hole_formatter___closed__2;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3);
|
||||
|
|
@ -7851,7 +7851,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_PrettyPrinter_formatterAttribute;
|
||||
x_3 = l_Lean_mkHole___closed__2;
|
||||
x_3 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
x_4 = l___regBuiltin_Lean_Parser_Term_hole_formatter___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
|
|
@ -7874,7 +7874,7 @@ static lean_object* _init_l_Lean_Parser_Term_hole_parenthesizer___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_mkHole___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3);
|
||||
|
|
@ -7907,7 +7907,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute;
|
||||
x_3 = l_Lean_mkHole___closed__2;
|
||||
x_3 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13;
|
||||
x_4 = l___regBuiltin_Lean_Parser_Term_hole_parenthesizer___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
|
|
@ -9306,7 +9306,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeAscription___elambda__1___close
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -9316,7 +9316,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeAscription___elambda__1___close
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__7;
|
||||
x_2 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
|
|
@ -9358,7 +9358,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeAscription___elambda__1___close
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_2 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__5;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -9416,7 +9416,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeAscription___closed__3() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_2 = l_Lean_Parser_Term_typeAscription___closed__2;
|
||||
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -10151,7 +10151,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeAscription_formatter___closed__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__7;
|
||||
x_2 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -10188,7 +10188,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeAscription_formatter___closed__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Term_typeAscription_formatter___closed__3;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3);
|
||||
|
|
@ -10477,7 +10477,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeAscription_parenthesizer___clos
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Term_typeAscription_parenthesizer___closed__2;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3);
|
||||
|
|
@ -11436,7 +11436,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__1
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__9;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__5;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -11446,7 +11446,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__2
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__8;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__4;
|
||||
x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
|
|
@ -11488,7 +11488,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__6
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__9;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__5;
|
||||
x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__5;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -11546,7 +11546,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___closed__3() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__9;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__5;
|
||||
x_2 = l_Lean_Parser_Term_haveAssign___closed__2;
|
||||
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -12156,7 +12156,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_formatter___closed__1()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__8;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__4;
|
||||
x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -12193,7 +12193,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_formatter___closed__4()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__9;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__5;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Term_haveAssign_formatter___closed__3;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3);
|
||||
|
|
@ -12528,7 +12528,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_parenthesizer___closed__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__9;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__5;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Term_typeAscription_parenthesizer___closed__2;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3);
|
||||
|
|
@ -14639,9 +14639,10 @@ return x_2;
|
|||
static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string(" }");
|
||||
return x_1;
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___kind_term____x40_Init_Notation___hyg_7200____closed__12;
|
||||
x_2 = l_String_trim(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__16() {
|
||||
|
|
@ -14649,25 +14650,28 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__15;
|
||||
x_2 = l_String_trim(x_1);
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__16;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__14;
|
||||
x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__16;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__14;
|
||||
x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__12;
|
||||
x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__17;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -14679,7 +14683,7 @@ static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__1
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__12;
|
||||
x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__9;
|
||||
x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__18;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -14691,7 +14695,7 @@ static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__2
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__9;
|
||||
x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__8;
|
||||
x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__19;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -14703,7 +14707,7 @@ static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__2
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__8;
|
||||
x_1 = l_Lean_Parser_Lean_Parser_Basic___instance__8___closed__2;
|
||||
x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__20;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -14715,7 +14719,7 @@ static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__2
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Lean_Parser_Basic___instance__8___closed__2;
|
||||
x_1 = l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__6;
|
||||
x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__21;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -14727,9 +14731,9 @@ static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__2
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__6;
|
||||
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2;
|
||||
x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__22;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -14739,20 +14743,8 @@ static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__2
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2;
|
||||
x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__23;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__25() {
|
||||
_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_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__24;
|
||||
x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__23;
|
||||
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);
|
||||
|
|
@ -14766,7 +14758,7 @@ lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object*
|
|||
x_3 = l_Lean_Parser_Term_structInst___elambda__1___closed__2;
|
||||
x_4 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_4);
|
||||
x_5 = l_Lean_Parser_Term_structInst___elambda__1___closed__25;
|
||||
x_5 = l_Lean_Parser_Term_structInst___elambda__1___closed__24;
|
||||
x_6 = 1;
|
||||
x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2);
|
||||
return x_7;
|
||||
|
|
@ -14857,7 +14849,7 @@ static lean_object* _init_l_Lean_Parser_Term_structInst___closed__9() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__16;
|
||||
x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__15;
|
||||
x_2 = l_Lean_Parser_symbolInfo(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -15375,7 +15367,7 @@ static lean_object* _init_l_Lean_Parser_Term_structInst_formatter___closed__11()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__15;
|
||||
x_1 = l___kind_term____x40_Init_Notation___hyg_7200____closed__12;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter___boxed), 6, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -15918,7 +15910,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeSpec___elambda__1___closed__1()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -15928,7 +15920,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeSpec___elambda__1___closed__2()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__10;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
x_2 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
|
|
@ -15939,7 +15931,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeSpec___elambda__1___closed__3()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_2 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__5;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -15976,7 +15968,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeSpec___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_2 = l_Lean_Parser_Term_typeAscription___closed__2;
|
||||
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -19279,7 +19271,7 @@ static lean_object* _init_l_Lean_Parser_Term_simpleBinder___elambda__1___closed_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__9;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -19289,7 +19281,7 @@ static lean_object* _init_l_Lean_Parser_Term_simpleBinder___elambda__1___closed_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
x_2 = l_Lean_Parser_Term_simpleBinder___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
|
|
@ -19312,7 +19304,7 @@ static lean_object* _init_l_Lean_Parser_Term_simpleBinder___elambda__1___closed_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__9;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
x_2 = l_Lean_Parser_Term_simpleBinder___elambda__1___closed__3;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -19363,7 +19355,7 @@ static lean_object* _init_l_Lean_Parser_Term_simpleBinder___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__9;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
x_2 = l_Lean_Parser_Term_simpleBinder___closed__1;
|
||||
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -19757,7 +19749,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeSpec_formatter___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__10;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
x_2 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -19772,7 +19764,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeSpec_formatter___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Term_typeAscription_formatter___closed__3;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3);
|
||||
|
|
@ -19813,7 +19805,7 @@ static lean_object* _init_l_Lean_Parser_Term_simpleBinder_formatter___closed__1(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__5;
|
||||
x_2 = l_Lean_Parser_Term_simpleBinder___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -19848,7 +19840,7 @@ static lean_object* _init_l_Lean_Parser_Term_simpleBinder_formatter___closed__4(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__9;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Term_simpleBinder_formatter___closed__3;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3);
|
||||
|
|
@ -20052,7 +20044,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeSpec_parenthesizer___closed__2(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__11;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Term_typeAscription_parenthesizer___closed__2;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3);
|
||||
|
|
@ -20126,7 +20118,7 @@ static lean_object* _init_l_Lean_Parser_Term_simpleBinder_parenthesizer___closed
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__9;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Term_simpleBinder_parenthesizer___closed__3;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3);
|
||||
|
|
@ -26145,7 +26137,7 @@ if (lean_obj_tag(x_14) == 0)
|
|||
{
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_15 = l_Lean_Parser_pushNone___elambda__1___rarg(x_13);
|
||||
x_16 = l_Lean_expandExplicitBindersAux_loop___closed__9;
|
||||
x_16 = l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
x_17 = l_Lean_Parser_ParserState_mkNode(x_15, x_16, x_4);
|
||||
return x_17;
|
||||
}
|
||||
|
|
@ -26153,7 +26145,7 @@ else
|
|||
{
|
||||
lean_object* x_18; lean_object* x_19;
|
||||
lean_dec(x_14);
|
||||
x_18 = l_Lean_expandExplicitBindersAux_loop___closed__9;
|
||||
x_18 = l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
x_19 = l_Lean_Parser_ParserState_mkNode(x_13, x_18, x_4);
|
||||
return x_19;
|
||||
}
|
||||
|
|
@ -26172,7 +26164,7 @@ if (lean_obj_tag(x_22) == 0)
|
|||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25;
|
||||
x_23 = l_Lean_Parser_pushNone___elambda__1___rarg(x_21);
|
||||
x_24 = l_Lean_expandExplicitBindersAux_loop___closed__9;
|
||||
x_24 = l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_4);
|
||||
return x_25;
|
||||
}
|
||||
|
|
@ -26180,7 +26172,7 @@ else
|
|||
{
|
||||
lean_object* x_26; lean_object* x_27;
|
||||
lean_dec(x_22);
|
||||
x_26 = l_Lean_expandExplicitBindersAux_loop___closed__9;
|
||||
x_26 = l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
x_27 = l_Lean_Parser_ParserState_mkNode(x_21, x_26, x_4);
|
||||
return x_27;
|
||||
}
|
||||
|
|
@ -26205,7 +26197,7 @@ static lean_object* _init_l_Lean_Parser_Term_simpleBinderWithoutType___closed__2
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__9;
|
||||
x_1 = l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
x_2 = l_Lean_Parser_Term_simpleBinderWithoutType___closed__1;
|
||||
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -27339,7 +27331,7 @@ lean_object* l_Lean_Parser_Term_simpleBinderWithoutType_formatter(lean_object* x
|
|||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_6 = l_Lean_expandExplicitBindersAux_loop___closed__9;
|
||||
x_6 = l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
x_7 = l_Lean_Parser_Term_simpleBinderWithoutType_formatter___closed__1;
|
||||
x_8 = l_Lean_PrettyPrinter_Formatter_node_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5);
|
||||
return x_8;
|
||||
|
|
@ -27780,7 +27772,7 @@ lean_object* l_Lean_Parser_Term_simpleBinderWithoutType_parenthesizer(lean_objec
|
|||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_6 = l_Lean_expandExplicitBindersAux_loop___closed__9;
|
||||
x_6 = l_Lean_expandExplicitBindersAux_loop___closed__6;
|
||||
x_7 = l_Lean_Parser_Term_simpleBinderWithoutType_parenthesizer___closed__1;
|
||||
x_8 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5);
|
||||
return x_8;
|
||||
|
|
@ -44254,8 +44246,6 @@ l_Lean_Parser_Term_structInst___elambda__1___closed__23 = _init_l_Lean_Parser_Te
|
|||
lean_mark_persistent(l_Lean_Parser_Term_structInst___elambda__1___closed__23);
|
||||
l_Lean_Parser_Term_structInst___elambda__1___closed__24 = _init_l_Lean_Parser_Term_structInst___elambda__1___closed__24();
|
||||
lean_mark_persistent(l_Lean_Parser_Term_structInst___elambda__1___closed__24);
|
||||
l_Lean_Parser_Term_structInst___elambda__1___closed__25 = _init_l_Lean_Parser_Term_structInst___elambda__1___closed__25();
|
||||
lean_mark_persistent(l_Lean_Parser_Term_structInst___elambda__1___closed__25);
|
||||
l_Lean_Parser_Term_structInst___closed__1 = _init_l_Lean_Parser_Term_structInst___closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_Term_structInst___closed__1);
|
||||
l_Lean_Parser_Term_structInst___closed__2 = _init_l_Lean_Parser_Term_structInst___closed__2();
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Structure.c
generated
6
stage0/stdlib/Lean/Structure.c
generated
|
|
@ -37,6 +37,7 @@ lean_object* lean_environment_find(lean_object*, lean_object*);
|
|||
lean_object* l_Array_forInUnsafe_loop___at_Lean_getPathToBaseStructureAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getStructureCtor_match__2(lean_object*);
|
||||
extern lean_object* l_Lean_Lean_Declaration___instance__4;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
|
|
@ -55,7 +56,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Structure_0__Lean_get
|
|||
lean_object* l_Lean_isStructureLike___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getStructureCtor_match__1(lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_getParentStructures___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Name_appendIndexAfter___closed__1;
|
||||
lean_object* l_Lean_getStructureFieldsFlattened(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Structure_0__Lean_hasProjFn_match__1(lean_object*);
|
||||
lean_object* l___private_Lean_Structure_0__Lean_isSubobjectFieldAux___closed__3;
|
||||
|
|
@ -321,7 +321,7 @@ lean_object* l_Lean_mkInternalSubobjectFieldName(lean_object* x_1) {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Name_appendIndexAfter___closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
x_3 = l_Lean_Name_appendBefore(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -1128,7 +1128,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_obj
|
|||
x_4 = l_Lean_getStructureCtor(x_1, x_2);
|
||||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = l_Lean_Name_appendIndexAfter___closed__1;
|
||||
x_6 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14;
|
||||
x_7 = l_Lean_Name_appendBefore(x_3, x_6);
|
||||
x_8 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_8);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Syntax.c
generated
4
stage0/stdlib/Lean/Syntax.c
generated
|
|
@ -147,7 +147,6 @@ extern lean_object* l_Lean_Format_join___closed__1;
|
|||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_reprint___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_setArgs(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_structEq_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
lean_object* l_Nat_repr(lean_object*);
|
||||
lean_object* l___private_Lean_Syntax_0__Lean_Syntax_reprintLeaf___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_formatStxAux_match__1(lean_object*);
|
||||
|
|
@ -236,6 +235,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__4;
|
|||
lean_object* l_List_beq___at_Lean_Syntax_structEq___spec__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkSimpleAtom(lean_object*);
|
||||
lean_object* l___private_Lean_Syntax_0__Lean_Syntax_formatInfo_match__3(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
lean_object* l___private_Lean_Syntax_0__Lean_Syntax_formatInfo(uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_MonadTraverser_goDown___rarg___lambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_List_beq___at_Lean_Syntax_structEq___spec__3___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -4182,7 +4182,7 @@ static lean_object* _init_l___private_Lean_Syntax_0__Lean_Syntax_formatInfo___cl
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Util/Recognizers.c
generated
4
stage0/stdlib/Lean/Util/Recognizers.c
generated
|
|
@ -55,6 +55,7 @@ lean_object* l_Lean_Expr_isConstructorApp_x3f___closed__2;
|
|||
extern lean_object* l_Lean_Literal_type___closed__2;
|
||||
lean_object* l_Lean_Expr_constructorApp_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Util_Recognizers_0__Lean_Expr_getConstructorVal_x3f(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Core___hyg_185____closed__4;
|
||||
lean_object* l_Lean_Expr_app3_x3f(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_6957____closed__5;
|
||||
lean_object* l_Lean_Expr_heq_x3f___boxed(lean_object*);
|
||||
|
|
@ -65,7 +66,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__4;
|
|||
lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_arrow_x3f(lean_object*);
|
||||
lean_object* l_Lean_Expr_isConstructorApp_x3f_match__3(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Core___hyg_190____closed__4;
|
||||
lean_object* l_Lean_Expr_constructorApp_x3f_match__1(lean_object*);
|
||||
lean_object* l_Lean_Expr_isConstructorApp_x3f___closed__1;
|
||||
lean_object* l_Lean_Expr_app1_x3f(lean_object*, lean_object*);
|
||||
|
|
@ -304,7 +304,7 @@ lean_object* l_Lean_Expr_iff_x3f(lean_object* x_1) {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4;
|
||||
x_2 = l_myMacro____x40_Init_Core___hyg_190____closed__4;
|
||||
x_2 = l_myMacro____x40_Init_Core___hyg_185____closed__4;
|
||||
x_3 = lean_unsigned_to_nat(2u);
|
||||
x_4 = l_Lean_Expr_isAppOfArity(x_1, x_2, x_3);
|
||||
if (x_4 == 0)
|
||||
|
|
|
|||
34
stage0/stdlib/Lean/Util/Trace.c
generated
34
stage0/stdlib/Lean/Util/Trace.c
generated
|
|
@ -14,7 +14,6 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
lean_object* lean_string_push(lean_object*, uint32_t);
|
||||
extern lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__7;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__3;
|
||||
size_t l_USize_add(size_t, size_t);
|
||||
extern lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__8;
|
||||
|
|
@ -24,6 +23,7 @@ lean_object* l_Lean_stringToMessageData(lean_object*);
|
|||
uint8_t l_Lean_MessageData_isNest(lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__7;
|
||||
lean_object* l_Lean_isTracingEnabledFor___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
uint8_t l_USize_decEq(size_t, size_t);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
|
|
@ -72,6 +72,7 @@ lean_object* lean_array_get_size(lean_object*);
|
|||
lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__5;
|
||||
extern lean_object* l_Lean_interpolatedStrKind;
|
||||
lean_object* l_Lean_getTraces(lean_object*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3;
|
||||
lean_object* l_Lean_isTracingEnabledFor___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__5___rarg___lambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
|
|
@ -84,14 +85,12 @@ lean_object* l_Lean_traceM___rarg___lambda__1___boxed(lean_object*, lean_object*
|
|||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__4;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_1249____closed__7;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_885____closed__3;
|
||||
lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_withNestedTraces___spec__3___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_1249____closed__2;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__6;
|
||||
lean_object* l_Lean_traceCtx___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_1249_;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_885_;
|
||||
|
|
@ -128,7 +127,6 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
|||
lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_885____closed__2;
|
||||
lean_object* l_Lean_registerTraceClass___closed__2;
|
||||
lean_object* l_Lean_traceCtx___rarg___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
uint8_t l_Lean_MessageData_isNil(lean_object*);
|
||||
lean_object* l_Std_PersistentArray_foldlM___at_Lean_withNestedTraces___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -180,8 +178,10 @@ lean_object* l_Lean_modifyTraces___rarg(lean_object*, lean_object*);
|
|||
size_t l_USize_land(size_t, size_t);
|
||||
extern lean_object* l_Lean_nullKind___closed__2;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_885____closed__11;
|
||||
extern lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__4;
|
||||
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
lean_object* l_Lean_resetTraceState(lean_object*);
|
||||
lean_object* l_Lean_MonadTracer_trace(lean_object*);
|
||||
lean_object* l_Lean_setTraceState___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -191,7 +191,6 @@ lean_object* l_Lean_traceCtx(lean_object*, lean_object*);
|
|||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1;
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionAux_match__1(lean_object*);
|
||||
lean_object* l_Lean_TraceState_traces___default;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___rarg___lambda__2___closed__1;
|
||||
lean_object* l_IO_println___at_Lean_printTraces___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1331____closed__3;
|
||||
|
|
@ -247,6 +246,7 @@ lean_object* l_Lean_getTraces___rarg(lean_object*, lean_object*);
|
|||
lean_object* l_Std_PersistentArray_forMAux___at_Lean_printTraces___spec__3(lean_object*);
|
||||
lean_object* l_Std_PersistentArray_forMAux___at_Lean_printTraces___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_885____closed__10;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__4___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_trace___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Lean_Util_Trace___instance__1;
|
||||
|
|
@ -2695,7 +2695,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__7;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__5;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
|
|
@ -2781,18 +2781,18 @@ x_26 = l_Array_empty___closed__1;
|
|||
x_27 = lean_array_push(x_26, x_25);
|
||||
x_28 = lean_array_push(x_26, x_15);
|
||||
x_29 = lean_array_push(x_26, x_17);
|
||||
x_30 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__6;
|
||||
x_30 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__4;
|
||||
x_31 = l_Lean_addMacroScope(x_19, x_30, x_18);
|
||||
x_32 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__5;
|
||||
x_32 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3;
|
||||
x_33 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__7;
|
||||
x_34 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_34, 0, x_22);
|
||||
lean_ctor_set(x_34, 1, x_32);
|
||||
lean_ctor_set(x_34, 2, x_31);
|
||||
lean_ctor_set(x_34, 3, x_33);
|
||||
x_35 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_35 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_36 = lean_array_push(x_35, x_34);
|
||||
x_37 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_37 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_38 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_38, 0, x_37);
|
||||
lean_ctor_set(x_38, 1, x_36);
|
||||
|
|
@ -2813,7 +2813,7 @@ x_48 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8;
|
|||
x_49 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_49, 0, x_48);
|
||||
lean_ctor_set(x_49, 1, x_47);
|
||||
x_50 = l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
x_50 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_51 = lean_array_push(x_50, x_49);
|
||||
x_52 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15;
|
||||
x_53 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -3061,18 +3061,18 @@ lean_dec(x_15);
|
|||
x_32 = l___private_Init_Meta_0__Lean_quoteName(x_31);
|
||||
x_33 = lean_array_push(x_29, x_32);
|
||||
x_34 = lean_array_push(x_29, x_17);
|
||||
x_35 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__6;
|
||||
x_35 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__4;
|
||||
x_36 = l_Lean_addMacroScope(x_22, x_35, x_21);
|
||||
x_37 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__5;
|
||||
x_37 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3;
|
||||
x_38 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__7;
|
||||
x_39 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_39, 0, x_25);
|
||||
lean_ctor_set(x_39, 1, x_37);
|
||||
lean_ctor_set(x_39, 2, x_36);
|
||||
lean_ctor_set(x_39, 3, x_38);
|
||||
x_40 = l_Lean_expandExplicitBindersAux_loop___closed__13;
|
||||
x_40 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11;
|
||||
x_41 = lean_array_push(x_40, x_39);
|
||||
x_42 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4;
|
||||
x_42 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8;
|
||||
x_43 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_43, 0, x_42);
|
||||
lean_ctor_set(x_43, 1, x_41);
|
||||
|
|
@ -3093,7 +3093,7 @@ x_53 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8;
|
|||
x_54 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_54, 0, x_53);
|
||||
lean_ctor_set(x_54, 1, x_52);
|
||||
x_55 = l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
x_55 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_56 = lean_array_push(x_55, x_54);
|
||||
x_57 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15;
|
||||
x_58 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -3149,7 +3149,7 @@ x_84 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__8;
|
|||
x_85 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_85, 0, x_84);
|
||||
lean_ctor_set(x_85, 1, x_83);
|
||||
x_86 = l_Lean_expandExplicitBindersAux_loop___closed__7;
|
||||
x_86 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_87 = lean_array_push(x_86, x_85);
|
||||
x_88 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15;
|
||||
x_89 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
|
|||
4
stage0/stdlib/Std/Data/PersistentArray.c
generated
4
stage0/stdlib/Std/Data/PersistentArray.c
generated
|
|
@ -128,6 +128,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Std_PersistentArray_append___spec__9
|
|||
lean_object* l_Array_foldlMUnsafe_fold___at_Std_PersistentArray_collectStats___spec__1(lean_object*);
|
||||
lean_object* l_Std_PersistentArray_forInAux_match__4(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_append(lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Std_PersistentArray_filter___spec__3___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_getOp(lean_object*);
|
||||
lean_object* l_Array_findSomeRevM_x3f_find___at_Std_PersistentArray_findSomeRev_x3f___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -540,7 +541,6 @@ lean_object* l_Std_PersistentArray_findSomeMAux___rarg___lambda__1(lean_object*,
|
|||
lean_object* l_Array_foldlMUnsafe_fold___at_Std_PersistentArray_foldl___spec__8___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_foldlM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_modifyAux_match__1(lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Std_PersistentArray_filter___spec__6___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Std_PersistentArray_collectStats___spec__1___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Std_PersistentArray_allM___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t);
|
||||
|
|
@ -12690,7 +12690,7 @@ lean_dec(x_1);
|
|||
x_14 = l_Nat_repr(x_13);
|
||||
x_15 = lean_string_append(x_12, x_14);
|
||||
lean_dec(x_14);
|
||||
x_16 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_16 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_17 = lean_string_append(x_15, x_16);
|
||||
return x_17;
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Std/Data/PersistentHashMap.c
generated
4
stage0/stdlib/Std/Data/PersistentHashMap.c
generated
|
|
@ -60,6 +60,7 @@ lean_object* l_Std_PersistentHashMap_root___default___closed__2;
|
|||
lean_object* l_Std_PersistentHashMap_findAux_match__2___rarg(lean_object*, size_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_findEntry_x3f_match__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_erase_match__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
lean_object* l_Std_PersistentHashMap_foldlMAux___at_Std_PersistentHashMap_toList___spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_Stats_toString(lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
|
|
@ -245,7 +246,6 @@ lean_object* l_Std_PersistentHashMap_Stats_toString___closed__1;
|
|||
lean_object* l_Std_PersistentHashMap_foldlM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_eraseAux___rarg(lean_object*, lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_eraseAux_match__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
lean_object* l_Std_PersistentHashMap_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_isUnaryNode_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_eraseAux_match__6(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -5010,7 +5010,7 @@ lean_dec(x_1);
|
|||
x_19 = l_Nat_repr(x_18);
|
||||
x_20 = lean_string_append(x_17, x_19);
|
||||
lean_dec(x_19);
|
||||
x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24;
|
||||
x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22;
|
||||
x_22 = lean_string_append(x_20, x_21);
|
||||
return x_22;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue