chore: update stage0
This commit is contained in:
parent
061709aa51
commit
41cec8b634
95 changed files with 9614 additions and 7189 deletions
43
stage0/src/Init/Meta.lean
generated
43
stage0/src/Init/Meta.lean
generated
|
|
@ -89,25 +89,39 @@ def capitalize : Name → Name
|
|||
| Name.str p s _ => Name.mkStr p s.capitalize
|
||||
| n => n
|
||||
|
||||
def appendAfter : Name → String → Name
|
||||
| str p s _, suffix => Name.mkStr p (s ++ suffix)
|
||||
| n, suffix => Name.mkStr n suffix
|
||||
|
||||
def appendIndexAfter : Name → Nat → Name
|
||||
| str p s _, idx => Name.mkStr p (s ++ "_" ++ toString idx)
|
||||
| n, idx => Name.mkStr n ("_" ++ toString idx)
|
||||
|
||||
def appendBefore : Name → String → Name
|
||||
| anonymous, pre => Name.mkStr anonymous pre
|
||||
| str p s _, pre => Name.mkStr p (pre ++ s)
|
||||
| num p n _, pre => Name.mkNum (Name.mkStr p pre) n
|
||||
|
||||
def replacePrefix : Name → Name → Name → Name
|
||||
| anonymous, anonymous, newP => newP
|
||||
| anonymous, _, _ => anonymous
|
||||
| n@(str p s _), queryP, newP => if n == queryP then newP else Name.mkStr (p.replacePrefix queryP newP) s
|
||||
| n@(num p s _), queryP, newP => if n == queryP then newP else Name.mkNum (p.replacePrefix queryP newP) s
|
||||
|
||||
/-- Remove macros scopes, apply `f`, and put them back -/
|
||||
@[inline] def modifyBase (n : Name) (f : Name → Name) : Name :=
|
||||
if n.hasMacroScopes then
|
||||
let view := extractMacroScopes n
|
||||
{ view with name := f view.name }.review
|
||||
else
|
||||
f n
|
||||
|
||||
@[export lean_name_append_after]
|
||||
def appendAfter (n : Name) (suffix : String) : Name :=
|
||||
n.modifyBase fun
|
||||
| str p s _ => Name.mkStr p (s ++ suffix)
|
||||
| n => Name.mkStr n suffix
|
||||
|
||||
@[export lean_name_append_index_after]
|
||||
def appendIndexAfter (n : Name) (idx : Nat) : Name :=
|
||||
n.modifyBase fun
|
||||
| str p s _ => Name.mkStr p (s ++ "_" ++ toString idx)
|
||||
| n => Name.mkStr n ("_" ++ toString idx)
|
||||
|
||||
@[export lean_name_append_before]
|
||||
def appendBefore (n : Name) (pre : String) : Name :=
|
||||
n.modifyBase fun
|
||||
| anonymous => Name.mkStr anonymous pre
|
||||
| str p s _ => Name.mkStr p (pre ++ s)
|
||||
| num p n _ => Name.mkNum (Name.mkStr p pre) n
|
||||
|
||||
end Name
|
||||
|
||||
structure NameGenerator where
|
||||
|
|
@ -235,6 +249,9 @@ partial def getHead? : Syntax → Option Syntax
|
|||
| node _ args => args.findSome? getHead?
|
||||
| _ => none
|
||||
|
||||
def copyHeadTailInfoFrom (target source : Syntax) : Syntax :=
|
||||
target.setHeadInfo source.getHeadInfo |>.setTailInfo source.getTailInfo
|
||||
|
||||
end Syntax
|
||||
|
||||
/-- Use the head atom/identifier of the current `ref` as the `ref` -/
|
||||
|
|
|
|||
3
stage0/src/Init/NotationExtra.lean
generated
3
stage0/src/Init/NotationExtra.lean
generated
|
|
@ -171,8 +171,7 @@ macro_rules
|
|||
for parent in parents do
|
||||
auxBinders := auxBinders.push (← `(bracketedBinder| [ $parent:term ]))
|
||||
ctorArgs := ctorArgs.push inferInst
|
||||
let view := Lean.extractMacroScopes name.getId
|
||||
let ctor := mkIdentFrom name { view with name := view.name ++ `mk }.review
|
||||
let ctor := mkIdentFrom name <| name.getId.modifyBase (. ++ `mk)
|
||||
`(class $name:ident $params* extends $[$parents:term],*
|
||||
instance $auxBinders:explicitBinder* : @ $name:ident $typeArgs* :=
|
||||
@ $ctor:ident $ctorArgs*)
|
||||
|
|
|
|||
39
stage0/src/Lean/Elab/Do.lean
generated
39
stage0/src/Lean/Elab/Do.lean
generated
|
|
@ -93,21 +93,36 @@ private def mkIdBindFor (type : Expr) : TermElabM ExtractMonadResult := do
|
|||
let idBindVal := Lean.mkConst `Id.hasBind [u]
|
||||
pure { m := id, hasBindInst := idBindVal, α := type, expectedType := mkApp id type }
|
||||
|
||||
private def extractBind (expectedType? : Option Expr) : TermElabM ExtractMonadResult := do
|
||||
private partial def extractBind (expectedType? : Option Expr) : TermElabM ExtractMonadResult := do
|
||||
match expectedType? with
|
||||
| none => throwError "invalid 'do' notation, expected type is not available"
|
||||
| some expectedType =>
|
||||
let type ← withReducible $ whnf expectedType
|
||||
if type.getAppFn.isMVar then throwError "invalid 'do' notation, expected type is not available"
|
||||
match type with
|
||||
| Expr.app m α _ =>
|
||||
try
|
||||
let bindInstType ← mkAppM `Bind #[m]
|
||||
let bindInstVal ← synthesizeInst bindInstType
|
||||
pure { m := m, hasBindInst := bindInstVal, α := α, expectedType := expectedType }
|
||||
catch _ =>
|
||||
mkIdBindFor type
|
||||
| _ => mkIdBindFor type
|
||||
let extractStep? (type : Expr) : MetaM (Option ExtractMonadResult) := do
|
||||
match type with
|
||||
| Expr.app m α _ =>
|
||||
try
|
||||
let bindInstType ← mkAppM `Bind #[m]
|
||||
let bindInstVal ← Meta.synthInstance bindInstType
|
||||
return some { m := m, hasBindInst := bindInstVal, α := α, expectedType := expectedType }
|
||||
catch _ =>
|
||||
return none
|
||||
| _ =>
|
||||
return none
|
||||
let rec extract? (type : Expr) : MetaM (Option ExtractMonadResult) := do
|
||||
match (← extractStep? type) with
|
||||
| some r => return r
|
||||
| none =>
|
||||
let typeNew ← whnfCore type
|
||||
if typeNew != type then
|
||||
extract? typeNew
|
||||
else
|
||||
if typeNew.getAppFn.isMVar then throwError "invalid 'do' notation, expected type is not available"
|
||||
match (← unfoldDefinition? typeNew) with
|
||||
| some typeNew => extract? typeNew
|
||||
| none => return none
|
||||
match (← extract? expectedType) with
|
||||
| some r => return r
|
||||
| none => mkIdBindFor expectedType
|
||||
|
||||
namespace Do
|
||||
|
||||
|
|
|
|||
4
stage0/src/Lean/Elab/InfoTree.lean
generated
4
stage0/src/Lean/Elab/InfoTree.lean
generated
|
|
@ -268,10 +268,6 @@ def resolveGlobalConstWithInfos [MonadResolveName m] [MonadEnv m] [MonadError m]
|
|||
pushInfoLeaf <| Info.ofTermInfo { lctx := LocalContext.empty, expr := (← mkConstWithLevelParams n), stx := stx }
|
||||
return ns
|
||||
|
||||
def mkInfoNode (info : Info) : m Unit := do
|
||||
if (← getInfoState).enabled then
|
||||
modifyInfoTrees fun ts => PersistentArray.empty.push <| InfoTree.node info ts
|
||||
|
||||
@[inline] def withInfoContext' [MonadFinally m] (x : m α) (mkInfo : α → m (Sum Info MVarId)) : m α := do
|
||||
if (← getInfoState).enabled then
|
||||
let treesSaved ← getResetInfoTrees
|
||||
|
|
|
|||
12
stage0/src/Lean/Elab/MutualDef.lean
generated
12
stage0/src/Lean/Elab/MutualDef.lean
generated
|
|
@ -612,7 +612,12 @@ private def levelMVarToParamHeaders (views : Array DefView) (headers : Array Def
|
|||
let newHeaders ← process.run' 1
|
||||
newHeaders.mapM fun header => return { header with type := (← instantiateMVars header.type) }
|
||||
|
||||
def elabMutualDef (vars : Array Expr) (views : Array DefView) : TermElabM Unit := do
|
||||
def elabMutualDef (vars : Array Expr) (views : Array DefView) : TermElabM Unit :=
|
||||
if isExample views then
|
||||
withoutModifyingEnv go
|
||||
else
|
||||
go
|
||||
where go := do
|
||||
let scopeLevelNames ← getLevelNames
|
||||
let headers ← elabHeaders views
|
||||
let headers ← levelMVarToParamHeaders views headers
|
||||
|
|
@ -630,10 +635,7 @@ def elabMutualDef (vars : Array Expr) (views : Array DefView) : TermElabM Unit :
|
|||
let preDefs ← levelMVarToParamPreDecls preDefs
|
||||
let preDefs ← instantiateMVarsAtPreDecls preDefs
|
||||
let preDefs ← fixLevelParams preDefs scopeLevelNames allUserLevelNames
|
||||
if isExample views then
|
||||
withoutModifyingEnv <| addPreDefinitions preDefs
|
||||
else
|
||||
addPreDefinitions preDefs
|
||||
addPreDefinitions preDefs
|
||||
|
||||
end Term
|
||||
namespace Command
|
||||
|
|
|
|||
6
stage0/src/Lean/Elab/Quotation.lean
generated
6
stage0/src/Lean/Elab/Quotation.lean
generated
|
|
@ -383,7 +383,7 @@ private partial def getHeadInfo (alt : Alt) : TermElabM HeadInfo :=
|
|||
{ info with onMatch := fun taken => match info.onMatch taken with
|
||||
| covered f exh => covered (fun alt => f alt >>= adaptRhs (`(let $id := discr; $(·)))) exh
|
||||
| r => r }
|
||||
| _ => throwErrorAt pat "match_syntax: unexpected pattern kind {pat}"
|
||||
| _ => throwErrorAt pat "match (syntax) : unexpected pattern kind {pat}"
|
||||
|
||||
-- Bind right-hand side to new `let_delayed` decl in order to prevent code duplication
|
||||
private def deduplicate (floatedLetDecls : Array Syntax) : Alt → TermElabM (Array Syntax × Alt)
|
||||
|
|
@ -406,7 +406,9 @@ private partial def compileStxMatch (discrs : List Syntax) (alts : List Alt) : T
|
|||
trace[Elab.match_syntax] "match {discrs} with {alts}"
|
||||
match discrs, alts with
|
||||
| [], ([], rhs)::_ => pure rhs -- nothing left to match
|
||||
| _, [] => throwError "non-exhaustive 'match_syntax'"
|
||||
| _, [] =>
|
||||
logError "non-exhaustive 'match' (syntax)"
|
||||
pure Syntax.missing
|
||||
| discr::discrs, alt::alts => do
|
||||
let info ← getHeadInfo alt
|
||||
let pat := alt.1.head!
|
||||
|
|
|
|||
7
stage0/src/Lean/Elab/Quotation/Precheck.lean
generated
7
stage0/src/Lean/Elab/Quotation/Precheck.lean
generated
|
|
@ -31,6 +31,11 @@ register_builtin_option quotPrecheck : Bool := {
|
|||
Note that type-sensitive syntax (\"elaborators\") needs special support for this kind of check, so it might need to be turned off when using such syntax."
|
||||
}
|
||||
|
||||
register_builtin_option quotPrecheck.allowSectionVars : Bool := {
|
||||
defValue := false
|
||||
descr := "Allow occurrences of section variables in checked quotations, it is useful when declaring local notation."
|
||||
}
|
||||
|
||||
unsafe def mkPrecheckAttribute : IO (KeyedDeclsAttribute Precheck) :=
|
||||
KeyedDeclsAttribute.init {
|
||||
builtinName := `builtinQuotPrecheck,
|
||||
|
|
@ -80,6 +85,8 @@ def runPrecheck (stx : Syntax) : TermElabM Unit := do
|
|||
return
|
||||
if (← read).quotLCtx.contains val then
|
||||
return
|
||||
if quotPrecheck.allowSectionVars.get (← getOptions) && (← readThe Term.Context).sectionVars.contains val then
|
||||
return
|
||||
throwError "unknown identifier '{val}'"
|
||||
| _ => throwUnsupportedSyntax
|
||||
|
||||
|
|
|
|||
16
stage0/src/Lean/Elab/Syntax.lean
generated
16
stage0/src/Lean/Elab/Syntax.lean
generated
|
|
@ -381,11 +381,11 @@ def elabNoKindMacroRulesAux (attrKind : Syntax) (alts : Array Syntax) : CommandE
|
|||
|
||||
@[builtinCommandElab «macro_rules»] def elabMacroRules : CommandElab :=
|
||||
adaptExpander fun stx => match stx with
|
||||
| `($attrKind:attrKind macro_rules $alts:matchAlt*) =>
|
||||
| `($attrKind:attrKind macro_rules $alts:matchAlt*) =>
|
||||
elabNoKindMacroRulesAux attrKind alts
|
||||
| `($attrKind:attrKind macro_rules (kind := $kind) | $x:ident => $rhs) =>
|
||||
| `($attrKind:attrKind macro_rules (kind := $kind) | $x:ident => $rhs) =>
|
||||
`(@[$attrKind:attrKind macro $kind] def myMacro : Macro := fun $x:ident => $rhs)
|
||||
| `($attrKind:attrKind macro_rules (kind := $kind) $alts:matchAlt*) =>
|
||||
| `($attrKind:attrKind macro_rules (kind := $kind) $alts:matchAlt*) =>
|
||||
do elabMacroRulesAux attrKind ((← getCurrNamespace) ++ kind.getId) alts
|
||||
| _ => throwUnsupportedSyntax
|
||||
|
||||
|
|
@ -470,6 +470,11 @@ def mkSimpleDelab (attrKind : Syntax) (vars : Array Syntax) (pat qrhs : Syntax)
|
|||
`(@[$attrKind:attrKind appUnexpander $(mkIdent c):ident] def unexpand : Lean.PrettyPrinter.Unexpander := fun _ => `($pat))
|
||||
| _ => failure
|
||||
|
||||
private def isLocalAttrKind (attrKind : Syntax) : Bool :=
|
||||
match attrKind with
|
||||
| `(Parser.Term.attrKind| local) => true
|
||||
| _ => false
|
||||
|
||||
private def expandNotationAux (ref : Syntax)
|
||||
(currNamespace : Name) (attrKind : Syntax) (prec? : Option Syntax) (name? : Option Syntax) (prio? : Option Syntax) (items : Array Syntax) (rhs : Syntax) : MacroM Syntax := do
|
||||
let prio ← evalOptPrio prio?
|
||||
|
|
@ -490,7 +495,10 @@ private def expandNotationAux (ref : Syntax)
|
|||
let fullName := currNamespace ++ name
|
||||
let pat := Syntax.node fullName patArgs
|
||||
let stxDecl ← `($attrKind:attrKind syntax $[: $prec?]? (name := $(mkIdent name)) (priority := $(quote prio):numLit) $[$syntaxParts]* : $cat)
|
||||
let macroDecl ← `(macro_rules | `($pat) => ``($qrhs))
|
||||
let mut macroDecl ← `(macro_rules | `($pat) => ``($qrhs))
|
||||
if isLocalAttrKind attrKind then
|
||||
-- Make sure the quotation pre-checker takes section variables into account for local notation.
|
||||
macroDecl ← `(section set_option quotPrecheck.allowSectionVars true $macroDecl end)
|
||||
match (← mkSimpleDelab attrKind vars pat qrhs |>.run) with
|
||||
| some delabDecl => mkNullNode #[stxDecl, macroDecl, delabDecl]
|
||||
| none => mkNullNode #[stxDecl, macroDecl]
|
||||
|
|
|
|||
11
stage0/src/Lean/Elab/SyntheticMVars.lean
generated
11
stage0/src/Lean/Elab/SyntheticMVars.lean
generated
|
|
@ -8,7 +8,7 @@ import Lean.Elab.Term
|
|||
import Lean.Elab.Tactic.Basic
|
||||
|
||||
namespace Lean.Elab.Term
|
||||
open Tactic (TacticM evalTactic getUnsolvedGoals)
|
||||
open Tactic (TacticM evalTactic getUnsolvedGoals withTacticInfoContext)
|
||||
open Meta
|
||||
|
||||
/-- Auxiliary function used to implement `synthesizeSyntheticMVars`. -/
|
||||
|
|
@ -205,11 +205,14 @@ mutual
|
|||
modify fun s => { s with syntheticMVars := savedSyntheticMVars }
|
||||
|
||||
partial def runTactic (mvarId : MVarId) (tacticCode : Syntax) : TermElabM Unit := do
|
||||
/- Recall, `tacticCode` is the whole `by ...` expression.
|
||||
We store the `by` because in the future we want to save the initial state information at the `by` position. -/
|
||||
/- Recall, `tacticCode` is the whole `by ...` expression. -/
|
||||
let byTk := tacticCode[0]
|
||||
let code := tacticCode[1]
|
||||
modifyThe Meta.State fun s => { s with mctx := s.mctx.instantiateMVarDeclMVars mvarId }
|
||||
let remainingGoals ← withInfoHole mvarId do liftTacticElabM mvarId do evalTactic code; getUnsolvedGoals
|
||||
let remainingGoals ← withInfoHole mvarId <|
|
||||
liftTacticElabM mvarId do
|
||||
withTacticInfoContext tacticCode (evalTactic code)
|
||||
getUnsolvedGoals
|
||||
unless remainingGoals.isEmpty do reportUnsolvedGoals remainingGoals
|
||||
|
||||
/-- Try to synthesize the given pending synthetic metavariable. -/
|
||||
|
|
|
|||
41
stage0/src/Lean/Elab/Tactic/Basic.lean
generated
41
stage0/src/Lean/Elab/Tactic/Basic.lean
generated
|
|
@ -95,6 +95,20 @@ private def evalTacticUsing (s : SavedState) (stx : Syntax) (tactics : List Tact
|
|||
def getGoals : TacticM (List MVarId) :=
|
||||
return (← get).goals
|
||||
|
||||
def mkTacticInfo (mctxBefore : MetavarContext) (goalsBefore : List MVarId) (stx : Syntax) : TacticM Info :=
|
||||
return Info.ofTacticInfo {
|
||||
mctxBefore := mctxBefore
|
||||
goalsBefore := goalsBefore
|
||||
stx := stx
|
||||
mctxAfter := (← getMCtx)
|
||||
goalsAfter := (← getGoals)
|
||||
}
|
||||
|
||||
@[inline] def withTacticInfoContext (stx : Syntax) (x : TacticM α) : TacticM α := do
|
||||
let mctxBefore ← getMCtx
|
||||
let goalsBefore ← getGoals
|
||||
withInfoContext x (mkTacticInfo mctxBefore goalsBefore stx)
|
||||
|
||||
mutual
|
||||
|
||||
partial def expandTacticMacroFns (stx : Syntax) (macros : List Macro) : TacticM Unit :=
|
||||
|
|
@ -132,19 +146,8 @@ mutual
|
|||
| none => expandTacticMacro stx
|
||||
| _ => throwError "unexpected command"
|
||||
|
||||
partial def mkTacticInfo (mctxBefore : MetavarContext) (goalsBefore : List MVarId) (stx : Syntax) : TacticM Info :=
|
||||
return Info.ofTacticInfo {
|
||||
mctxBefore := mctxBefore
|
||||
goalsBefore := goalsBefore
|
||||
stx := stx
|
||||
mctxAfter := (← getMCtx)
|
||||
goalsAfter := (← getGoals)
|
||||
}
|
||||
|
||||
partial def evalTactic (stx : Syntax) : TacticM Unit := do
|
||||
let mctxBefore ← getMCtx
|
||||
let goalsBefore ← getGoals
|
||||
withInfoContext (evalTacticAux stx) (mkTacticInfo mctxBefore goalsBefore stx)
|
||||
partial def evalTactic (stx : Syntax) : TacticM Unit :=
|
||||
withTacticInfoContext stx (evalTacticAux stx)
|
||||
|
||||
end
|
||||
|
||||
|
|
@ -155,9 +158,7 @@ end
|
|||
-/
|
||||
def saveTacticInfoForToken (stx : Syntax) : TacticM Unit := do
|
||||
unless stx.getPos?.isNone do
|
||||
let mctxBefore ← getMCtx
|
||||
let goalsBefore ← getGoals
|
||||
withInfoContext (pure ()) (mkTacticInfo mctxBefore goalsBefore stx)
|
||||
withTacticInfoContext stx (pure ())
|
||||
|
||||
/- Elaborate `x` with `stx` on the macro stack -/
|
||||
@[inline]
|
||||
|
|
@ -288,10 +289,10 @@ def admitGoal (mvarId : MVarId) : TacticM Unit := do
|
|||
assignExprMVar mvarId (← mkSorry mvarType (synthetic := true))
|
||||
|
||||
/- Close the main goal using the given tactic. If it fails, log the error and `admit` -/
|
||||
def closeUsingOrAdmit (tac : Syntax) : TacticM Unit := do
|
||||
def closeUsingOrAdmit (tac : TacticM Unit) : TacticM Unit := do
|
||||
let mvarId :: mvarIds ← getUnsolvedGoals | throwNoGoalsToBeSolved
|
||||
try
|
||||
focusAndDone (evalTactic tac)
|
||||
focusAndDone tac
|
||||
catch ex =>
|
||||
logException ex
|
||||
admitGoal mvarId
|
||||
|
|
@ -541,7 +542,7 @@ def withCaseRef [Monad m] [MonadRef m] (arrow body : Syntax) (x : m α) : m α :
|
|||
withRef (mkNullNode #[arrow, body]) x
|
||||
|
||||
@[builtinTactic «case»] def evalCase : Tactic
|
||||
| `(tactic| case $tag $hs* =>%$arr $tac:tacticSeq) => do
|
||||
| stx@`(tactic| case $tag $hs* =>%$arr $tac:tacticSeq) => do
|
||||
let tag := tag.getId
|
||||
let gs ← getUnsolvedGoals
|
||||
let some g ← findTag? gs tag | throwError "tag not found"
|
||||
|
|
@ -575,7 +576,7 @@ def withCaseRef [Monad m] [MonadRef m] (arrow body : Syntax) (x : m α) : m α :
|
|||
setMVarTag g Name.anonymous
|
||||
try
|
||||
withCaseRef arr tac do
|
||||
closeUsingOrAdmit tac
|
||||
closeUsingOrAdmit (withTacticInfoContext stx (evalTactic tac))
|
||||
finally
|
||||
setMVarTag g savedTag
|
||||
done
|
||||
|
|
|
|||
2
stage0/src/Lean/Elab/Tactic/Induction.lean
generated
2
stage0/src/Lean/Elab/Tactic/Induction.lean
generated
|
|
@ -54,7 +54,7 @@ def evalAlt (mvarId : MVarId) (alt : Syntax) (remainingGoals : Array MVarId) : T
|
|||
return remainingGoals ++ gs'
|
||||
else
|
||||
setGoals [mvarId]
|
||||
closeUsingOrAdmit rhs
|
||||
closeUsingOrAdmit (withTacticInfoContext alt (evalTactic rhs))
|
||||
return remainingGoals
|
||||
|
||||
/-
|
||||
|
|
|
|||
28
stage0/src/Lean/Elab/Tactic/Rewrite.lean
generated
28
stage0/src/Lean/Elab/Tactic/Rewrite.lean
generated
|
|
@ -11,23 +11,35 @@ import Lean.Elab.Tactic.Location
|
|||
namespace Lean.Elab.Tactic
|
||||
open Meta
|
||||
|
||||
private def expand (kind : SyntaxNodeKind) (token : String) (stx : Syntax) : Syntax := do
|
||||
let rwRules := stx[1][1].getSepArgs
|
||||
private def expand (kind : SyntaxNodeKind) (stx : Syntax) : Syntax := do
|
||||
let token := stx[0]
|
||||
let lbrak := stx[1][0]
|
||||
let rwRules := stx[1][1].getArgs
|
||||
let rbrak := stx[1][2]
|
||||
let loc := stx[2]
|
||||
let mut newTacs := #[]
|
||||
for i in [:rwRules.size] do
|
||||
let rwRule := rwRules[i]
|
||||
let numRules := (rwRules.size + 1) / 2
|
||||
for i in [:numRules] do
|
||||
let rwRule := rwRules[i * 2]
|
||||
let sep := rwRules.getD (i * 2 + 1) Syntax.missing
|
||||
-- We use `stx` as "position provider" for the first rule
|
||||
-- Without this change, we don't get correct information when we hover over `rw`/`rewrite`/`erewrite` with multiple rewrites
|
||||
let ref ← if i == 0 then stx else pure rwRule
|
||||
newTacs := newTacs.push <| Syntax.node kind #[mkAtomFrom ref token, rwRule, loc]
|
||||
let ref :=
|
||||
-- use whole original tactic as "position provider" for last rule so
|
||||
-- we show the final state outside the brackets
|
||||
if i == numRules - 1 then stx
|
||||
-- other rules: include separator
|
||||
else mkNullNode #[rwRule, sep]
|
||||
let newTac := Syntax.node kind #[token, rwRule, loc]
|
||||
let newTac := newTac.copyHeadTailInfoFrom ref
|
||||
newTacs := newTacs.push newTac
|
||||
return mkNullNode newTacs
|
||||
|
||||
@[builtinMacro Lean.Parser.Tactic.rewriteSeq] def expandRewriteTactic : Macro := fun stx =>
|
||||
return expand ``Parser.Tactic.rewrite "rewrite " stx
|
||||
return expand ``Parser.Tactic.rewrite stx
|
||||
|
||||
@[builtinMacro Lean.Parser.Tactic.erewriteSeq] def expandERewriteTactic : Macro := fun stx =>
|
||||
return expand ``Parser.Tactic.erewrite "erewrite " stx
|
||||
return expand ``Parser.Tactic.erewrite stx
|
||||
|
||||
def rewriteTarget (stx : Syntax) (symm : Bool) (mode : TransparencyMode) : TacticM Unit := do
|
||||
Term.withSynthesize <| withMainContext do
|
||||
|
|
|
|||
4
stage0/src/Lean/Meta/InferType.lean
generated
4
stage0/src/Lean/Meta/InferType.lean
generated
|
|
@ -29,11 +29,11 @@ partial def Expr.instantiateBetaRevRange (e : Expr) (start : Nat) (stop : Nat) (
|
|||
else
|
||||
e
|
||||
where
|
||||
visit (e : Expr) (offset : Nat) : MonadStateCacheT (Expr × Nat) Expr Id Expr :=
|
||||
visit (e : Expr) (offset : Nat) : MonadStateCacheT (ExprStructEq × Nat) Expr Id Expr :=
|
||||
if offset >= e.looseBVarRange then
|
||||
-- `e` doesn't have free variables
|
||||
return e
|
||||
else checkCache (e, offset) fun _ => do
|
||||
else checkCache ({ val := e : ExprStructEq }, offset) fun _ => do
|
||||
match e with
|
||||
| Expr.forallE _ d b _ => return e.updateForallE! (← visit d offset) (← visit b (offset+1))
|
||||
| Expr.lam _ d b _ => return e.updateLambdaE! (← visit d offset) (← visit b (offset+1))
|
||||
|
|
|
|||
4
stage0/src/Lean/Meta/Tactic/Util.lean
generated
4
stage0/src/Lean/Meta/Tactic/Util.lean
generated
|
|
@ -20,9 +20,7 @@ def setMVarTag (mvarId : MVarId) (tag : Name) : MetaM Unit := do
|
|||
modify fun s => { s with mctx := s.mctx.setMVarUserName mvarId tag }
|
||||
|
||||
def appendTag (tag : Name) (suffix : Name) : Name :=
|
||||
let view := extractMacroScopes tag
|
||||
let view := { view with name := view.name ++ suffix.eraseMacroScopes }
|
||||
view.review
|
||||
tag.modifyBase (. ++ suffix.eraseMacroScopes)
|
||||
|
||||
def appendTagSuffix (mvarId : MVarId) (suffix : Name) : MetaM Unit := do
|
||||
let tag ← getMVarTag mvarId
|
||||
|
|
|
|||
18
stage0/src/Lean/MetavarContext.lean
generated
18
stage0/src/Lean/MetavarContext.lean
generated
|
|
@ -519,10 +519,10 @@ partial def instantiateLevelMVars [Monad m] [MonadMCtx m] : Level → m Level
|
|||
| lvl => pure lvl
|
||||
|
||||
/-- instantiateExprMVars main function -/
|
||||
partial def instantiateExprMVars [Monad m] [MonadMCtx m] [STWorld ω m] [MonadLiftT (ST ω) m] (e : Expr) : MonadCacheT Expr Expr m Expr :=
|
||||
partial def instantiateExprMVars [Monad m] [MonadMCtx m] [STWorld ω m] [MonadLiftT (ST ω) m] (e : Expr) : MonadCacheT ExprStructEq Expr m Expr :=
|
||||
if !e.hasMVar then
|
||||
pure e
|
||||
else checkCache e fun _ => do match e with
|
||||
else checkCache { val := e : ExprStructEq } fun _ => do match e with
|
||||
| Expr.proj _ _ s _ => return e.updateProj! (← instantiateExprMVars s)
|
||||
| Expr.forallE _ d b _ => return e.updateForallE! (← instantiateExprMVars d) (← instantiateExprMVars b)
|
||||
| Expr.lam _ d b _ => return e.updateLambdaE! (← instantiateExprMVars d) (← instantiateExprMVars b)
|
||||
|
|
@ -531,10 +531,10 @@ partial def instantiateExprMVars [Monad m] [MonadMCtx m] [STWorld ω m] [MonadLi
|
|||
| Expr.sort lvl _ => return e.updateSort! (← instantiateLevelMVars lvl)
|
||||
| Expr.mdata _ b _ => return e.updateMData! (← instantiateExprMVars b)
|
||||
| Expr.app .. => e.withApp fun f args => do
|
||||
let instArgs (f : Expr) : MonadCacheT Expr Expr m Expr := do
|
||||
let instArgs (f : Expr) : MonadCacheT ExprStructEq Expr m Expr := do
|
||||
let args ← args.mapM instantiateExprMVars
|
||||
pure (mkAppN f args)
|
||||
let instApp : MonadCacheT Expr Expr m Expr := do
|
||||
let instApp : MonadCacheT ExprStructEq Expr m Expr := do
|
||||
let wasMVar := f.isMVar
|
||||
let f ← instantiateExprMVars f
|
||||
if wasMVar && f.isLambda then
|
||||
|
|
@ -581,7 +581,7 @@ partial def instantiateExprMVars [Monad m] [MonadMCtx m] [STWorld ω m] [MonadLi
|
|||
let result := mkAppRange result fvars.size args.size args
|
||||
pure result
|
||||
| _ => instApp
|
||||
| e@(Expr.mvar mvarId _) => checkCache e fun _ => do
|
||||
| e@(Expr.mvar mvarId _) => checkCache { val := e : ExprStructEq } fun _ => do
|
||||
let mctx ← getMCtx
|
||||
match mctx.getExprAssignment? mvarId with
|
||||
| some newE => do
|
||||
|
|
@ -599,7 +599,7 @@ def instantiateMVars (mctx : MetavarContext) (e : Expr) : Expr × MetavarContext
|
|||
if !e.hasMVar then
|
||||
(e, mctx)
|
||||
else
|
||||
let instantiate {ω} (e : Expr) : (MonadCacheT Expr Expr $ StateRefT MetavarContext $ ST ω) Expr :=
|
||||
let instantiate {ω} (e : Expr) : (MonadCacheT ExprStructEq Expr $ StateRefT MetavarContext $ ST ω) Expr :=
|
||||
instantiateExprMVars e
|
||||
runST fun _ => instantiate e |>.run |>.run mctx
|
||||
|
||||
|
|
@ -1036,11 +1036,11 @@ structure State where
|
|||
mctx : MetavarContext
|
||||
paramNames : Array Name := #[]
|
||||
nextParamIdx : Nat
|
||||
cache : HashMap Expr Expr := {}
|
||||
cache : HashMap ExprStructEq Expr := {}
|
||||
|
||||
abbrev M := ReaderT Context $ StateM State
|
||||
|
||||
instance : MonadCache Expr Expr M where
|
||||
instance : MonadCache ExprStructEq Expr M where
|
||||
findCached? e := return (← get).cache.find? e
|
||||
cache e v := modify fun s => { s with cache := s.cache.insert e v }
|
||||
|
||||
|
|
@ -1076,7 +1076,7 @@ partial def main (e : Expr) : M Expr :=
|
|||
if !e.hasMVar then
|
||||
return e
|
||||
else
|
||||
checkCache e fun _ => do
|
||||
checkCache { val := e : ExprStructEq } fun _ => do
|
||||
match e with
|
||||
| Expr.proj _ _ s _ => return e.updateProj! (← main s)
|
||||
| Expr.forallE _ d b _ => return e.updateForallE! (← main d) (← main b)
|
||||
|
|
|
|||
4
stage0/src/Lean/Server/FileWorker.lean
generated
4
stage0/src/Lean/Server/FileWorker.lean
generated
|
|
@ -609,10 +609,10 @@ section RequestHandling
|
|||
if let (some pos, some tailPos) := (stx.getPos?, stx.getTailPos?) then
|
||||
for t in (← read).infoState.trees do
|
||||
for ti in t.deepestNodes (fun
|
||||
| _, i@(Elab.Info.ofTermInfo ti) => match i.pos? with
|
||||
| _, i@(Elab.Info.ofTermInfo ti), _ => match i.pos? with
|
||||
| some ipos => if pos <= ipos && ipos < tailPos then some ti else none
|
||||
| _ => none
|
||||
| _, _ => none) do
|
||||
| _, _, _ => none) do
|
||||
match ti.expr with
|
||||
| Expr.fvar .. => addToken ti.stx SemanticTokenType.variable
|
||||
| _ => if ti.stx.getPos?.get! > pos then addToken ti.stx SemanticTokenType.property
|
||||
|
|
|
|||
46
stage0/src/Lean/Server/InfoUtils.lean
generated
46
stage0/src/Lean/Server/InfoUtils.lean
generated
|
|
@ -13,17 +13,16 @@ namespace Lean.Elab
|
|||
/--
|
||||
For every branch, find the deepest node in that branch matching `p`
|
||||
with a surrounding context (the innermost one) and return all of them. -/
|
||||
partial def InfoTree.deepestNodes (p : ContextInfo → Info → Option α) : InfoTree → List α :=
|
||||
partial def InfoTree.deepestNodes (p : ContextInfo → Info → Std.PersistentArray InfoTree → Option α) : InfoTree → List α :=
|
||||
go none
|
||||
where go ctx?
|
||||
| context ctx t => go ctx t
|
||||
| n@(node i cs) =>
|
||||
let cs := cs.toList
|
||||
let ccs := cs.map (go <| i.updateContext? ctx?)
|
||||
let cs := ccs.join
|
||||
if !cs.isEmpty then cs
|
||||
let ccs := cs.toList.map (go <| i.updateContext? ctx?)
|
||||
let cs' := ccs.join
|
||||
if !cs'.isEmpty then cs'
|
||||
else match ctx? with
|
||||
| some ctx => match p ctx i with
|
||||
| some ctx => match p ctx i cs with
|
||||
| some a => [a]
|
||||
| _ => []
|
||||
| _ => []
|
||||
|
|
@ -86,7 +85,7 @@ def Info.occursBefore? (i : Info) (hoverPos : String.Pos) : Option Nat := Option
|
|||
return hoverPos - tailPos
|
||||
|
||||
def InfoTree.smallestInfo? (p : Info → Bool) (t : InfoTree) : Option (ContextInfo × Info) :=
|
||||
let ts := t.deepestNodes fun ctx i => if p i then some (ctx, i) else none
|
||||
let ts := t.deepestNodes fun ctx i _ => if p i then some (ctx, i) else none
|
||||
|
||||
let infos := ts.map fun (ci, i) =>
|
||||
let diff := i.tailPos?.get! - i.pos?.get!
|
||||
|
|
@ -160,18 +159,41 @@ structure GoalsAtResult where
|
|||
- None of the `children` can provide satisfy the condition above. That is, for composite tactics such as
|
||||
`induction`, we always give preference for information stored in nested (children) tactics.
|
||||
|
||||
Moreover, we instruct the LSP server to use the state after the tactic execution if hoverPos >= endPos
|
||||
Moreover, we instruct the LSP server to use the state after the tactic execution if hoverPos >= endPos *and*
|
||||
there is no nested tactic info (i.e. it is a leaf tactic; tactic combinators should decide for themselves
|
||||
where to show intermediate/final states)
|
||||
-/
|
||||
partial def InfoTree.goalsAt? (t : InfoTree) (hoverPos : String.Pos) : List GoalsAtResult := do
|
||||
t.deepestNodes fun
|
||||
| ctx, i@(Info.ofTacticInfo ti) => OptionM.run do
|
||||
let rs := t.deepestNodes fun
|
||||
| ctx, i@(Info.ofTacticInfo ti), cs => OptionM.run do
|
||||
let (some pos, some tailPos) ← pure (i.pos?, i.tailPos?)
|
||||
| failure
|
||||
let trailSize := i.stx.getTrailingSize
|
||||
-- NOTE: include position just after tactic, i.e. when the cursor is still adjacent
|
||||
-- (even when `trailSize == 0`, which is the case at EOF)
|
||||
guard <| pos ≤ hoverPos ∧ hoverPos < tailPos + Nat.max 1 trailSize
|
||||
return { ctxInfo := ctx, tacticInfo := ti, useAfter := hoverPos > pos }
|
||||
| _, _ => none
|
||||
return { ctxInfo := ctx, tacticInfo := ti, useAfter :=
|
||||
hoverPos > pos && !cs.any (hasNestedTactic pos tailPos) }
|
||||
| _, _, _ => none
|
||||
if let r::_ := rs then
|
||||
-- The above lenient heuristics return both goals when the cursor is placed adjacent
|
||||
-- to two infos, such as in `skip;` (recall that `;` also has a tactic info).
|
||||
-- Select goals with the minimum position only to resolve this.
|
||||
-- NOTE: We can assume that the list is sorted by position
|
||||
return rs.filter (·.tacticInfo.stx.getPos? == r.tacticInfo.stx.getPos?)
|
||||
return rs
|
||||
where
|
||||
hasNestedTactic (pos tailPos) : InfoTree → Bool
|
||||
| InfoTree.node (Info.ofTacticInfo ti) cs => do
|
||||
if let `(by $t) := ti.stx then
|
||||
return false -- ignore term-nested proofs such as in `simp [show p by ...]`
|
||||
if let (some pos', some tailPos') := (ti.stx.getPos?, ti.stx.getTailPos?) then
|
||||
-- ignore nested infos of the same tactic, e.g. from expansion
|
||||
if (pos', tailPos') != (pos, tailPos) then
|
||||
return true
|
||||
cs.any (hasNestedTactic pos tailPos)
|
||||
| InfoTree.node (Info.ofMacroExpansionInfo _) cs =>
|
||||
cs.any (hasNestedTactic pos tailPos)
|
||||
| _ => false
|
||||
|
||||
end Lean.Elab
|
||||
|
|
|
|||
25
stage0/src/util/name.cpp
generated
25
stage0/src/util/name.cpp
generated
|
|
@ -354,24 +354,16 @@ name operator+(name const & n1, name const & n2) {
|
|||
}
|
||||
}
|
||||
|
||||
extern "C" obj_res lean_name_append_after(obj_arg n, obj_arg s);
|
||||
extern "C" obj_res lean_name_append_before(obj_arg n, obj_arg s);
|
||||
extern "C" obj_res lean_name_append_index_after(obj_arg n, obj_arg i);
|
||||
|
||||
name name::append_before(char const * p) const {
|
||||
if (is_anonymous()) {
|
||||
return name(p);
|
||||
} else if (is_string()) {
|
||||
return name(get_prefix(), string_ref(std::string(p) + get_string().to_std_string()));
|
||||
} else {
|
||||
return name(name(get_prefix(), p), get_numeral());
|
||||
}
|
||||
return name(lean_name_append_before(to_obj_arg(), lean_mk_string(p)));
|
||||
}
|
||||
|
||||
name name::append_after(char const * s) const {
|
||||
if (is_anonymous()) {
|
||||
return name(s);
|
||||
} else if (is_string()) {
|
||||
return name(get_prefix(), string_ref(get_string().to_std_string() + std::string(s)));
|
||||
} else {
|
||||
return name(*this, s);
|
||||
}
|
||||
return name(lean_name_append_after(to_obj_arg(), lean_mk_string(s)));
|
||||
}
|
||||
|
||||
name name::get_subscript_base() const {
|
||||
|
|
@ -383,10 +375,7 @@ name name::get_subscript_base() const {
|
|||
}
|
||||
|
||||
name name::append_after(unsigned i) const {
|
||||
name b = get_subscript_base();
|
||||
std::ostringstream s;
|
||||
s << b.get_string().to_std_string() << "_" << i;
|
||||
return name(b.get_prefix(), string_ref(s.str()));
|
||||
return name(lean_name_append_index_after(to_obj_arg(), lean_unsigned_to_nat(i)));
|
||||
}
|
||||
|
||||
optional<pair<name, unsigned>> name::is_subscripted() const {
|
||||
|
|
|
|||
1229
stage0/stdlib/Init/Meta.c
generated
1229
stage0/stdlib/Init/Meta.c
generated
File diff suppressed because it is too large
Load diff
1582
stage0/stdlib/Init/NotationExtra.c
generated
1582
stage0/stdlib/Init/NotationExtra.c
generated
File diff suppressed because it is too large
Load diff
4
stage0/stdlib/Lean/Attributes.c
generated
4
stage0/stdlib/Lean/Attributes.c
generated
|
|
@ -229,9 +229,9 @@ lean_object* l_Lean_registerEnumAttributes___rarg___lambda__2(lean_object*, lean
|
|||
lean_object* l_Lean_registerEnumAttributes___rarg___lambda__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Attribute_Builtin_getId___closed__3;
|
||||
lean_object* l_Array_qpartition_loop___at_Lean_registerParametricAttribute___spec__3(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__15;
|
||||
lean_object* l_Lean_getAttributeNames___boxed(lean_object*);
|
||||
uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
lean_object* l_Array_qsort_sort___at_Lean_registerParametricAttribute___spec__2(lean_object*);
|
||||
size_t l_Lean_Name_hash(lean_object*);
|
||||
lean_object* l_Lean_instInhabitedParametricAttribute___closed__1;
|
||||
|
|
@ -6035,7 +6035,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Attr_simp___closed__2;
|
||||
x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__15;
|
||||
x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Class.c
generated
4
stage0/stdlib/Lean/Class.c
generated
|
|
@ -115,7 +115,7 @@ lean_object* l_Std_mkHashMapImp___rarg(lean_object*);
|
|||
uint8_t l_Std_PersistentHashMap_containsAtAux___at_Lean_isClass___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_hasOutParams_match__1(lean_object*);
|
||||
lean_object* l_Lean_isClass___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__15;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
lean_object* l_Lean_classExtension___closed__5;
|
||||
size_t l_Lean_Name_hash(lean_object*);
|
||||
lean_object* l_Nat_repr(lean_object*);
|
||||
|
|
@ -3798,7 +3798,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_NotationExtra___hyg_5711____closed__15;
|
||||
x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Compiler/IR/Boxing.c
generated
8
stage0/stdlib/Lean/Compiler/IR/Boxing.c
generated
|
|
@ -99,7 +99,7 @@ lean_object* l_Lean_IR_ExplicitBoxing_getScrutineeType_match__2___rarg(uint8_t,
|
|||
lean_object* l_Lean_IR_ExplicitBoxing_visitFnBody_match__1(lean_object*);
|
||||
lean_object* l_Lean_IR_LocalContext_addJP(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*);
|
||||
lean_object* lean_name_append_index_after(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_ExplicitBoxing_getScrutineeType_match__2(lean_object*);
|
||||
lean_object* l_Lean_IR_ExplicitBoxing_mkCast___closed__1;
|
||||
lean_object* l_Lean_IR_ExplicitBoxing_mkCast___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2579,7 +2579,7 @@ lean_dec(x_38);
|
|||
x_39 = lean_ctor_get(x_4, 0);
|
||||
x_40 = l_Lean_IR_ExplicitBoxing_mkCast___closed__4;
|
||||
lean_inc(x_32);
|
||||
x_41 = l_Lean_Name_appendIndexAfter(x_40, x_32);
|
||||
x_41 = lean_name_append_index_after(x_40, x_32);
|
||||
x_42 = l_Lean_Name_append(x_39, x_41);
|
||||
x_43 = l_Array_empty___closed__1;
|
||||
lean_inc(x_42);
|
||||
|
|
@ -2615,7 +2615,7 @@ lean_dec(x_20);
|
|||
x_50 = lean_ctor_get(x_4, 0);
|
||||
x_51 = l_Lean_IR_ExplicitBoxing_mkCast___closed__4;
|
||||
lean_inc(x_32);
|
||||
x_52 = l_Lean_Name_appendIndexAfter(x_51, x_32);
|
||||
x_52 = lean_name_append_index_after(x_51, x_32);
|
||||
x_53 = l_Lean_Name_append(x_50, x_52);
|
||||
x_54 = l_Array_empty___closed__1;
|
||||
lean_inc(x_53);
|
||||
|
|
@ -2718,7 +2718,7 @@ if (lean_is_exclusive(x_63)) {
|
|||
x_77 = lean_ctor_get(x_4, 0);
|
||||
x_78 = l_Lean_IR_ExplicitBoxing_mkCast___closed__4;
|
||||
lean_inc(x_74);
|
||||
x_79 = l_Lean_Name_appendIndexAfter(x_78, x_74);
|
||||
x_79 = lean_name_append_index_after(x_78, x_74);
|
||||
x_80 = l_Lean_Name_append(x_77, x_79);
|
||||
x_81 = l_Array_empty___closed__1;
|
||||
lean_inc(x_80);
|
||||
|
|
|
|||
14
stage0/stdlib/Lean/Compiler/IR/Format.c
generated
14
stage0/stdlib/Lean/Compiler/IR/Format.c
generated
|
|
@ -74,8 +74,8 @@ extern lean_object* l_Std_Format_sbracket___closed__4;
|
|||
lean_object* l_Lean_IR_formatArray___at_Lean_IR_formatParams___spec__1(lean_object*);
|
||||
lean_object* l_Lean_IR_formatAlt___closed__2;
|
||||
lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__19;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
lean_object* l_Lean_IR_formatFnBodyHead___closed__11;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
lean_object* l_Lean_IR_formatFnBodyHead___closed__8;
|
||||
lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatLitVal(lean_object*);
|
||||
lean_object* l_Lean_IR_formatArray___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -3580,7 +3580,7 @@ x_13 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_3);
|
|||
x_14 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_14, 0, x_12);
|
||||
lean_ctor_set(x_14, 1, x_13);
|
||||
x_15 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_15 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_16 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_14);
|
||||
lean_ctor_set(x_16, 1, x_15);
|
||||
|
|
@ -3673,7 +3673,7 @@ x_53 = l_Lean_IR_formatFnBodyHead___closed__9;
|
|||
x_54 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_54, 0, x_53);
|
||||
lean_ctor_set(x_54, 1, x_52);
|
||||
x_55 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_55 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_56 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_56, 0, x_54);
|
||||
lean_ctor_set(x_56, 1, x_55);
|
||||
|
|
@ -3781,7 +3781,7 @@ x_103 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_84);
|
|||
x_104 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_104, 0, x_102);
|
||||
lean_ctor_set(x_104, 1, x_103);
|
||||
x_105 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_105 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_106 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_106, 0, x_104);
|
||||
lean_ctor_set(x_106, 1, x_105);
|
||||
|
|
@ -4133,7 +4133,7 @@ x_15 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_4);
|
|||
x_16 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_14);
|
||||
lean_ctor_set(x_16, 1, x_15);
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_18 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_16);
|
||||
lean_ctor_set(x_18, 1, x_17);
|
||||
|
|
@ -4283,7 +4283,7 @@ x_82 = l_Lean_IR_formatFnBodyHead___closed__9;
|
|||
x_83 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_83, 0, x_82);
|
||||
lean_ctor_set(x_83, 1, x_81);
|
||||
x_84 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_84 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_85 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_85, 0, x_83);
|
||||
lean_ctor_set(x_85, 1, x_84);
|
||||
|
|
@ -4419,7 +4419,7 @@ x_146 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_126);
|
|||
x_147 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_147, 0, x_145);
|
||||
lean_ctor_set(x_147, 1, x_146);
|
||||
x_148 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_148 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_149 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_149, 0, x_147);
|
||||
lean_ctor_set(x_149, 1, x_148);
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Data/Format.c
generated
8
stage0/stdlib/Lean/Data/Format.c
generated
|
|
@ -34,7 +34,7 @@ extern lean_object* l_Std_Format_sbracket___closed__4;
|
|||
lean_object* l_Lean_Option_get___at_Std_Format_pretty_x27___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Std_Format_getIndent___closed__1;
|
||||
lean_object* l_Std_Format_getIndent___boxed(lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_25____spec__1(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -865,7 +865,7 @@ x_4 = l_Lean_Name_toString___closed__1;
|
|||
x_5 = l_Lean_Name_toStringWithSep(x_4, x_2);
|
||||
x_6 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_6, 0, x_5);
|
||||
x_7 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_7 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_8 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_8, 0, x_6);
|
||||
lean_ctor_set(x_8, 1, x_7);
|
||||
|
|
@ -1018,7 +1018,7 @@ x_8 = l_Lean_Name_toString___closed__1;
|
|||
x_9 = l_Lean_Name_toStringWithSep(x_8, x_6);
|
||||
x_10 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_10, 0, x_9);
|
||||
x_11 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_11 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_12 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_12, 0, x_10);
|
||||
lean_ctor_set(x_12, 1, x_11);
|
||||
|
|
@ -1156,7 +1156,7 @@ x_52 = l_Lean_Name_toString___closed__1;
|
|||
x_53 = l_Lean_Name_toStringWithSep(x_52, x_50);
|
||||
x_54 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_54, 0, x_53);
|
||||
x_55 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_55 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_56 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_56, 0, x_54);
|
||||
lean_ctor_set(x_56, 1, x_55);
|
||||
|
|
|
|||
18
stage0/stdlib/Lean/Data/Position.c
generated
18
stage0/stdlib/Lean/Data/Position.c
generated
|
|
@ -30,12 +30,12 @@ extern lean_object* l_instReprSigma___rarg___closed__7;
|
|||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__27;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__27;
|
||||
lean_object* l_prodHasDecidableLt___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Position_0__Lean_decEqPosition____x40_Lean_Data_Position___hyg_16__match__1(lean_object*);
|
||||
extern lean_object* l_instReprProd___rarg___closed__1;
|
||||
lean_object* l_Lean_FileMap_ofString___closed__1;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
lean_object* l_Lean_Position_lt(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instReprPosition;
|
||||
|
|
@ -77,9 +77,9 @@ lean_object* l_Lean_instInhabitedFileMap___closed__1;
|
|||
lean_object* l_Lean_Position_instToFormatPosition(lean_object*);
|
||||
lean_object* l_Lean_Position_lt___closed__1;
|
||||
lean_object* l_Lean_Position_instToFormatPosition_match__1(lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__28;
|
||||
lean_object* l_Lean_instInhabitedPosition___closed__1;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__29;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__28;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__29;
|
||||
extern lean_object* l_Lean_mkOptionalNode___closed__2;
|
||||
lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_121_(lean_object*, lean_object*);
|
||||
extern lean_object* l_instReprSigma___rarg___closed__6;
|
||||
|
|
@ -225,7 +225,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_121____closed__3;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_3 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
|
|
@ -275,7 +275,7 @@ x_12 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Posi
|
|||
x_13 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_11);
|
||||
lean_ctor_set(x_13, 1, x_12);
|
||||
x_14 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_14 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_15 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_13);
|
||||
lean_ctor_set(x_15, 1, x_14);
|
||||
|
|
@ -288,15 +288,15 @@ lean_ctor_set(x_18, 0, x_17);
|
|||
x_19 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_15);
|
||||
lean_ctor_set(x_19, 1, x_18);
|
||||
x_20 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__28;
|
||||
x_20 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__28;
|
||||
x_21 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_20);
|
||||
lean_ctor_set(x_21, 1, x_19);
|
||||
x_22 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__29;
|
||||
x_22 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__29;
|
||||
x_23 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_21);
|
||||
lean_ctor_set(x_23, 1, x_22);
|
||||
x_24 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__27;
|
||||
x_24 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__27;
|
||||
x_25 = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(x_25, 0, x_24);
|
||||
lean_ctor_set(x_25, 1, x_23);
|
||||
|
|
|
|||
28
stage0/stdlib/Lean/DeclarationRange.c
generated
28
stage0/stdlib/Lean/DeclarationRange.c
generated
|
|
@ -46,13 +46,13 @@ lean_object* l_Lean_declRangeExt;
|
|||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instReprDeclarationRange;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__27;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__27;
|
||||
lean_object* l_Lean_declRangeExt___elambda__1___boxed(lean_object*);
|
||||
extern lean_object* l_instReprProd___rarg___closed__1;
|
||||
lean_object* l_Lean_declRangeExt___closed__4;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
extern lean_object* l_Lean_auxRecExt;
|
||||
lean_object* l_Lean_declRangeExt___elambda__4(lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_findDeclarationRanges_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
|
|
@ -135,9 +135,9 @@ lean_object* l_Lean_instInhabitedDeclarationRange;
|
|||
lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_213____closed__1;
|
||||
lean_object* l_Lean_declRangeExt___elambda__3(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__28;
|
||||
extern lean_object* l_Lean_instInhabitedPosition___closed__1;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__29;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__28;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__29;
|
||||
lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_213_(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_213____closed__9;
|
||||
lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_304____closed__6;
|
||||
|
|
@ -323,7 +323,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_213____closed__3;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_3 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
|
|
@ -408,7 +408,7 @@ x_12 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lea
|
|||
x_13 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_11);
|
||||
lean_ctor_set(x_13, 1, x_12);
|
||||
x_14 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_14 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_15 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_13);
|
||||
lean_ctor_set(x_15, 1, x_14);
|
||||
|
|
@ -461,15 +461,15 @@ lean_ctor_set(x_35, 0, x_34);
|
|||
x_36 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_36, 0, x_32);
|
||||
lean_ctor_set(x_36, 1, x_35);
|
||||
x_37 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__28;
|
||||
x_37 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__28;
|
||||
x_38 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_38, 0, x_37);
|
||||
lean_ctor_set(x_38, 1, x_36);
|
||||
x_39 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__29;
|
||||
x_39 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__29;
|
||||
x_40 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_38);
|
||||
lean_ctor_set(x_40, 1, x_39);
|
||||
x_41 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__27;
|
||||
x_41 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__27;
|
||||
x_42 = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(x_42, 0, x_41);
|
||||
lean_ctor_set(x_42, 1, x_40);
|
||||
|
|
@ -559,7 +559,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_304____closed__3;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_3 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
|
|
@ -608,7 +608,7 @@ x_12 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Le
|
|||
x_13 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_11);
|
||||
lean_ctor_set(x_13, 1, x_12);
|
||||
x_14 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_14 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_15 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_13);
|
||||
lean_ctor_set(x_15, 1, x_14);
|
||||
|
|
@ -619,15 +619,15 @@ x_17 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lea
|
|||
x_18 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_15);
|
||||
lean_ctor_set(x_18, 1, x_17);
|
||||
x_19 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__28;
|
||||
x_19 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__28;
|
||||
x_20 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_19);
|
||||
lean_ctor_set(x_20, 1, x_18);
|
||||
x_21 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__29;
|
||||
x_21 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__29;
|
||||
x_22 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_20);
|
||||
lean_ctor_set(x_22, 1, x_21);
|
||||
x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__27;
|
||||
x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__27;
|
||||
x_24 = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_23);
|
||||
lean_ctor_set(x_24, 1, x_22);
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Elab/App.c
generated
8
stage0/stdlib/Lean/Elab/App.c
generated
|
|
@ -307,7 +307,6 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__
|
|||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__1___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_elabAndAddNewArg_match__1(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType_match__1(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__2___lambda__5___boxed(lean_object**);
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___boxed(lean_object**);
|
||||
lean_object* l_Lean_Elab_Term_elabAppArgs(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -411,6 +410,7 @@ size_t lean_usize_of_nat(lean_object*);
|
|||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_instToStringNamedArg(lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_elabProj___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
lean_object* l_Lean_Elab_Term_LVal_getRef(lean_object*);
|
||||
uint8_t l_Lean_Expr_isAutoParam(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___closed__2;
|
||||
|
|
@ -21370,7 +21370,7 @@ x_31 = l_Lean_Syntax_isOfKind(x_1, x_30);
|
|||
if (x_31 == 0)
|
||||
{
|
||||
lean_object* x_32; uint8_t x_33;
|
||||
x_32 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_32 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
lean_inc(x_1);
|
||||
x_33 = l_Lean_Syntax_isOfKind(x_1, x_32);
|
||||
if (x_33 == 0)
|
||||
|
|
@ -35929,7 +35929,7 @@ lean_object* l_Lean_Elab_Term_elabExplicit(lean_object* x_1, lean_object* x_2, l
|
|||
_start:
|
||||
{
|
||||
lean_object* x_10; uint8_t x_11;
|
||||
x_10 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_10 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
lean_inc(x_1);
|
||||
x_11 = l_Lean_Syntax_isOfKind(x_1, x_10);
|
||||
if (x_11 == 0)
|
||||
|
|
@ -36068,7 +36068,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_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_3 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_elabExplicit___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
|
|
|
|||
14
stage0/stdlib/Lean/Elab/Binders.c
generated
14
stage0/stdlib/Lean/Elab/Binders.c
generated
|
|
@ -255,7 +255,6 @@ lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint
|
|||
extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__5;
|
||||
lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_6010_(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1171_(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__20;
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__8;
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_registerFailedToInferBinderTypeInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -344,6 +343,7 @@ uint8_t l_Lean_Syntax_isAntiquot(lean_object*);
|
|||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_registerFailedToInferBinderTypeInfo___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_expandFunBinders_loop_match__3(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__4(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_NotationExtra___hyg_5711____closed__27;
|
||||
extern lean_object* l_Lean_Expr_getAutoParamTactic_x3f___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__1___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_registerFailedToInferBinderTypeInfo___closed__1;
|
||||
|
|
@ -19454,7 +19454,7 @@ x_30 = l_Array_empty___closed__1;
|
|||
x_31 = lean_array_push(x_30, x_29);
|
||||
lean_inc(x_24);
|
||||
x_32 = lean_array_push(x_31, x_24);
|
||||
x_33 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_33 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_34 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_34, 0, x_33);
|
||||
lean_ctor_set(x_34, 1, x_32);
|
||||
|
|
@ -19713,7 +19713,7 @@ x_148 = l_Array_empty___closed__1;
|
|||
x_149 = lean_array_push(x_148, x_147);
|
||||
lean_inc(x_142);
|
||||
x_150 = lean_array_push(x_149, x_142);
|
||||
x_151 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_151 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_152 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_152, 0, x_151);
|
||||
lean_ctor_set(x_152, 1, x_150);
|
||||
|
|
@ -19928,7 +19928,7 @@ x_231 = l_Array_empty___closed__1;
|
|||
x_232 = lean_array_push(x_231, x_230);
|
||||
lean_inc(x_225);
|
||||
x_233 = lean_array_push(x_232, x_225);
|
||||
x_234 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_234 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_235 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_235, 0, x_234);
|
||||
lean_ctor_set(x_235, 1, x_233);
|
||||
|
|
@ -20570,7 +20570,7 @@ lean_ctor_set(x_28, 1, x_27);
|
|||
lean_ctor_set(x_28, 2, x_25);
|
||||
lean_ctor_set(x_28, 3, x_26);
|
||||
x_29 = lean_array_push(x_23, x_28);
|
||||
x_30 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_30 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_31 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_30);
|
||||
lean_ctor_set(x_31, 1, x_29);
|
||||
|
|
@ -20766,7 +20766,7 @@ lean_ctor_set(x_105, 1, x_104);
|
|||
lean_ctor_set(x_105, 2, x_102);
|
||||
lean_ctor_set(x_105, 3, x_103);
|
||||
x_106 = lean_array_push(x_100, x_105);
|
||||
x_107 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_107 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_108 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_108, 0, x_107);
|
||||
lean_ctor_set(x_108, 1, x_106);
|
||||
|
|
@ -20946,7 +20946,7 @@ lean_ctor_set(x_165, 1, x_164);
|
|||
lean_ctor_set(x_165, 2, x_162);
|
||||
lean_ctor_set(x_165, 3, x_163);
|
||||
x_166 = lean_array_push(x_160, x_165);
|
||||
x_167 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_167 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_168 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_168, 0, x_167);
|
||||
lean_ctor_set(x_168, 1, x_166);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/DeclUtil.c
generated
4
stage0/stdlib/Lean/Elab/DeclUtil.c
generated
|
|
@ -95,7 +95,7 @@ lean_object* l_Lean_Meta_forallTelescopeCompatible___rarg___lambda__2___boxed(le
|
|||
lean_object* l_Lean_Meta_forallTelescopeCompatibleAux(lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__4(lean_object*);
|
||||
lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*);
|
||||
lean_object* lean_name_append_index_after(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_forallTelescopeCompatibleAux_match__2(lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2772,7 +2772,7 @@ x_3 = lean_environment_main_module(x_1);
|
|||
x_4 = l_Lean_Elab_mkFreshInstanceName___closed__2;
|
||||
x_5 = l_Lean_Name_append(x_3, x_4);
|
||||
lean_dec(x_3);
|
||||
x_6 = l_Lean_Name_appendIndexAfter(x_5, x_2);
|
||||
x_6 = lean_name_append_index_after(x_5, x_2);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
22
stage0/stdlib/Lean/Elab/Declaration.c
generated
22
stage0/stdlib/Lean/Elab/Declaration.c
generated
|
|
@ -34,7 +34,6 @@ lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble___closed__1;
|
|||
lean_object* l_Lean_Elab_getOptDerivingClasses___at_Lean_Elab_Command_elabStructure___spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabAxiom___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__24;
|
||||
extern lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__2;
|
||||
extern lean_object* l_Lean_nullKind;
|
||||
lean_object* l_Lean_Elab_Command_expandInitCmd___closed__7;
|
||||
|
|
@ -101,7 +100,6 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean
|
|||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMutualNamespace_match__3(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_applyAttributesAt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__26;
|
||||
lean_object* l_Lean_Elab_Command_expandMutualElement_match__1(lean_object*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1354____closed__19;
|
||||
lean_object* l_Lean_Elab_Command_getLevelNames___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -143,6 +141,7 @@ lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Command_elabAxiom__
|
|||
lean_object* l_Lean_Elab_Command_expandDeclIdNamespace_x3f_match__2___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_getDeclarationRange___at_Lean_Elab_Command_elabAxiom___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___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_myMacro____x40_Init_NotationExtra___hyg_5711____closed__25;
|
||||
lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualDef___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand___closed__3;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualNamespace___spec__1___closed__2;
|
||||
|
|
@ -233,6 +232,7 @@ lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
|
|||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualElement___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand(lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__23;
|
||||
lean_object* l_Lean_Elab_Command_expandMutualPreamble(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_nullKind___closed__2;
|
||||
|
|
@ -254,7 +254,6 @@ lean_object* l_Lean_Syntax_getSepArgs(lean_object*);
|
|||
uint8_t l_Lean_isAttribute(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_set__option___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_expandInitCmd___closed__4;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
lean_object* l_Lean_Elab_Command_expandInitCmd___closed__11;
|
||||
extern lean_object* l_Lean_CollectLevelParams_instInhabitedState___closed__1;
|
||||
extern lean_object* l_Array_partition___rarg___closed__1;
|
||||
|
|
@ -271,6 +270,7 @@ lean_object* l_Lean_Name_append(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
lean_object* l_Lean_MacroScopesView_review(lean_object*);
|
||||
lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
lean_object* l_Lean_Elab_Term_applyAttributes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1354____closed__3;
|
||||
extern lean_object* l_Lean_Elab_Command_elabStructure___closed__1;
|
||||
|
|
@ -317,7 +317,6 @@ lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t);
|
|||
lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Command_elabAxiom___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__12;
|
||||
lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
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___private_Lean_Elab_Declaration_0__Lean_Elab_Command_elabMutualInductive___boxed__const__1;
|
||||
|
|
@ -354,6 +353,7 @@ lean_object* l_Lean_Elab_getDeclarationSelectionRef(lean_object*);
|
|||
lean_object* l_Lean_Elab_Command_expandMutualElement_match__2___rarg(lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualInductive(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__11;
|
||||
lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMutualNamespace_match__3___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -771,12 +771,12 @@ x_21 = lean_name_eq(x_7, x_20);
|
|||
if (x_21 == 0)
|
||||
{
|
||||
lean_object* x_22; uint8_t x_23;
|
||||
x_22 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__12;
|
||||
x_22 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__11;
|
||||
x_23 = lean_name_eq(x_7, x_22);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
lean_object* x_24; uint8_t x_25;
|
||||
x_24 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
x_24 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_25 = lean_name_eq(x_7, x_24);
|
||||
lean_dec(x_7);
|
||||
if (x_25 == 0)
|
||||
|
|
@ -4830,7 +4830,7 @@ x_19 = lean_name_eq(x_13, x_18);
|
|||
if (x_19 == 0)
|
||||
{
|
||||
lean_object* x_20; uint8_t x_21;
|
||||
x_20 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__12;
|
||||
x_20 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__11;
|
||||
x_21 = lean_name_eq(x_13, x_20);
|
||||
lean_dec(x_13);
|
||||
if (x_21 == 0)
|
||||
|
|
@ -8221,7 +8221,7 @@ x_117 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_117, 0, x_52);
|
||||
lean_ctor_set(x_117, 1, x_116);
|
||||
x_118 = lean_array_push(x_56, x_117);
|
||||
x_119 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__26;
|
||||
x_119 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__25;
|
||||
x_120 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_120, 0, x_119);
|
||||
lean_ctor_set(x_120, 1, x_118);
|
||||
|
|
@ -8424,7 +8424,7 @@ x_229 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_229, 0, x_164);
|
||||
lean_ctor_set(x_229, 1, x_228);
|
||||
x_230 = lean_array_push(x_168, x_229);
|
||||
x_231 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__26;
|
||||
x_231 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__25;
|
||||
x_232 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_232, 0, x_231);
|
||||
lean_ctor_set(x_232, 1, x_230);
|
||||
|
|
@ -8477,7 +8477,7 @@ x_254 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1354____closed__14;
|
|||
x_255 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_255, 0, x_254);
|
||||
lean_ctor_set(x_255, 1, x_253);
|
||||
x_256 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__24;
|
||||
x_256 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__23;
|
||||
x_257 = lean_array_push(x_256, x_255);
|
||||
x_258 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1354____closed__12;
|
||||
x_259 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -8654,7 +8654,7 @@ x_351 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1354____closed__14;
|
|||
x_352 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_352, 0, x_351);
|
||||
lean_ctor_set(x_352, 1, x_350);
|
||||
x_353 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__24;
|
||||
x_353 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__23;
|
||||
x_354 = lean_array_push(x_353, x_352);
|
||||
x_355 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1354____closed__12;
|
||||
x_356 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/DeclarationRange.c
generated
4
stage0/stdlib/Lean/Elab/DeclarationRange.c
generated
|
|
@ -25,10 +25,10 @@ lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Elab_addAuxDeclarationRanges(lean_object*);
|
||||
lean_object* l_Lean_Elab_addDeclarationRanges___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_addDeclarationRanges(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
lean_object* l_Lean_Elab_getDeclarationRange___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_mkOptionalNode___closed__1;
|
||||
lean_object* l_Lean_Elab_addAuxDeclarationRanges___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -194,7 +194,7 @@ _start:
|
|||
lean_object* x_2; lean_object* x_3; uint8_t x_4;
|
||||
lean_inc(x_1);
|
||||
x_2 = l_Lean_Syntax_getKind(x_1);
|
||||
x_3 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
x_3 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_4 = lean_name_eq(x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
if (x_4 == 0)
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Elab/DefView.c
generated
8
stage0/stdlib/Lean/Elab/DefView.c
generated
|
|
@ -106,6 +106,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefView
|
|||
lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__6;
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__6___rarg(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabCheckFailure___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_String_capitalize(lean_object*);
|
||||
|
|
@ -170,7 +171,6 @@ extern lean_object* l_Lean_Syntax_mkApp___closed__1;
|
|||
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
uint8_t l_String_isEmpty(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfTheorem_match__1(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__6(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__6___rarg(lean_object*);
|
||||
|
|
@ -6331,7 +6331,7 @@ x_15 = l_Lean_Elab_Command_getMainModule___rarg(x_4, x_14);
|
|||
x_16 = lean_ctor_get(x_15, 1);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_15);
|
||||
x_17 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_17 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
x_18 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_11);
|
||||
lean_ctor_set(x_18, 1, x_17);
|
||||
|
|
@ -6598,7 +6598,7 @@ x_10 = lean_name_eq(x_2, x_9);
|
|||
if (x_10 == 0)
|
||||
{
|
||||
lean_object* x_11; uint8_t x_12;
|
||||
x_11 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
x_11 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_12 = lean_name_eq(x_2, x_11);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
|
|
@ -6755,7 +6755,7 @@ x_14 = lean_name_eq(x_6, x_13);
|
|||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15; uint8_t x_16;
|
||||
x_15 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
x_15 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_16 = lean_name_eq(x_6, x_15);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
|
|
|
|||
16
stage0/stdlib/Lean/Elab/Deriving/BEq.c
generated
16
stage0/stdlib/Lean/Elab/Deriving/BEq.c
generated
|
|
@ -77,6 +77,7 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
|||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__6___lambda__1___closed__2;
|
||||
extern lean_object* l_Lean_setOptionFromString___closed__4;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_16821____closed__11;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
lean_object* l_Lean_Elab_Deriving_mkInstanceCmds(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInstImplicitBinders___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -93,7 +94,6 @@ lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
|||
lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkAlts_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_mkMatch(lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_23565____closed__1;
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkAlts_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__6___lambda__1___closed__1;
|
||||
|
|
@ -124,10 +124,10 @@ lean_object* l_Lean_Elab_Deriving_mkHeader___rarg(lean_object*, lean_object*, le
|
|||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_14734____closed__13;
|
||||
lean_object* l_Lean_Elab_Deriving_mkContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_mkBEqHeader(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__4;
|
||||
extern lean_object* l_Lean_KernelException_toMessageData___closed__3;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__5(lean_object*);
|
||||
|
|
@ -1761,7 +1761,7 @@ x_69 = lean_array_push(x_2, x_68);
|
|||
x_70 = lean_mk_syntax_ident(x_5);
|
||||
lean_inc(x_70);
|
||||
x_71 = lean_array_push(x_69, x_70);
|
||||
x_72 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_72 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_73 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_73, 0, x_72);
|
||||
lean_ctor_set(x_73, 1, x_71);
|
||||
|
|
@ -2021,7 +2021,7 @@ x_175 = lean_array_push(x_2, x_174);
|
|||
x_176 = lean_mk_syntax_ident(x_5);
|
||||
lean_inc(x_176);
|
||||
x_177 = lean_array_push(x_175, x_176);
|
||||
x_178 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_178 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_179 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_179, 0, x_178);
|
||||
lean_ctor_set(x_179, 1, x_177);
|
||||
|
|
@ -2859,7 +2859,7 @@ x_31 = l_Lean_nullKind___closed__2;
|
|||
x_32 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_31);
|
||||
lean_ctor_set(x_32, 1, x_30);
|
||||
x_33 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_33 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_34 = lean_array_push(x_33, x_32);
|
||||
x_35 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
||||
x_36 = lean_array_push(x_34, x_35);
|
||||
|
|
@ -2968,7 +2968,7 @@ x_93 = l_Lean_nullKind___closed__2;
|
|||
x_94 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_94, 0, x_93);
|
||||
lean_ctor_set(x_94, 1, x_92);
|
||||
x_95 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_95 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_96 = lean_array_push(x_95, x_94);
|
||||
x_97 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
||||
x_98 = lean_array_push(x_96, x_97);
|
||||
|
|
@ -3094,7 +3094,7 @@ x_164 = l_Lean_nullKind___closed__2;
|
|||
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_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_166 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_167 = lean_array_push(x_166, x_165);
|
||||
x_168 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
||||
x_169 = lean_array_push(x_167, x_168);
|
||||
|
|
@ -3217,7 +3217,7 @@ x_233 = l_Lean_nullKind___closed__2;
|
|||
x_234 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_234, 0, x_233);
|
||||
lean_ctor_set(x_234, 1, x_232);
|
||||
x_235 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_235 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_236 = lean_array_push(x_235, x_234);
|
||||
x_237 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
||||
x_238 = lean_array_push(x_236, x_237);
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/Elab/Deriving/DecEq.c
generated
12
stage0/stdlib/Lean/Elab/Deriving/DecEq.c
generated
|
|
@ -95,6 +95,7 @@ lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, le
|
|||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_16821____closed__11;
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
extern lean_object* l_Lean_groupKind___closed__2;
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_assumption___closed__1;
|
||||
|
|
@ -112,7 +113,6 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
|||
lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__43;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__8;
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -150,10 +150,10 @@ lean_object* l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(lean_obje
|
|||
lean_object* l_Lean_Elab_Deriving_mkHeader___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_myMacro____x40_Init_Notation___hyg_14734____closed__13;
|
||||
lean_object* l_Lean_Elab_Deriving_mkContext(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_NotationExtra___hyg_5711____closed__4;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_23758____closed__2;
|
||||
extern lean_object* l_Lean_KernelException_toMessageData___closed__3;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -3581,7 +3581,7 @@ x_52 = lean_array_push(x_2, x_51);
|
|||
x_53 = lean_mk_syntax_ident(x_5);
|
||||
lean_inc(x_53);
|
||||
x_54 = lean_array_push(x_52, x_53);
|
||||
x_55 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_55 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_56 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_56, 0, x_55);
|
||||
lean_ctor_set(x_56, 1, x_54);
|
||||
|
|
@ -3852,7 +3852,7 @@ x_163 = lean_array_push(x_2, x_162);
|
|||
x_164 = lean_mk_syntax_ident(x_5);
|
||||
lean_inc(x_164);
|
||||
x_165 = lean_array_push(x_163, x_164);
|
||||
x_166 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_166 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_167 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_167, 0, x_166);
|
||||
lean_ctor_set(x_167, 1, x_165);
|
||||
|
|
@ -5339,7 +5339,7 @@ x_85 = lean_array_push(x_38, x_84);
|
|||
x_86 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_86, 0, x_59);
|
||||
lean_ctor_set(x_86, 1, x_85);
|
||||
x_87 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_87 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_88 = lean_array_push(x_87, x_86);
|
||||
x_89 = lean_array_push(x_88, x_57);
|
||||
x_90 = lean_array_push(x_89, x_57);
|
||||
|
|
@ -5434,7 +5434,7 @@ x_138 = lean_array_push(x_38, x_137);
|
|||
x_139 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_139, 0, x_59);
|
||||
lean_ctor_set(x_139, 1, x_138);
|
||||
x_140 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_140 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_141 = lean_array_push(x_140, x_139);
|
||||
x_142 = lean_array_push(x_141, x_57);
|
||||
x_143 = lean_array_push(x_142, x_57);
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Elab/Deriving/FromToJson.c
generated
6
stage0/stdlib/Lean/Elab/Deriving/FromToJson.c
generated
|
|
@ -88,6 +88,7 @@ lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda_
|
|||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_16821____closed__11;
|
||||
extern lean_object* l_term___x3c_x7c_____closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__18;
|
||||
extern lean_object* l_Lean_groupKind___closed__2;
|
||||
lean_object* l_Lean_Elab_Deriving_mkInstanceCmds(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -123,7 +124,6 @@ lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1
|
|||
lean_object* l_Lean_Elab_Deriving_mkHeader___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__12;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_doReturn___elambda__1___closed__2;
|
||||
|
|
@ -1193,7 +1193,7 @@ x_53 = l_Lean_nullKind___closed__2;
|
|||
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_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_55 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_56 = lean_array_push(x_55, x_54);
|
||||
x_57 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
||||
x_58 = lean_array_push(x_56, x_57);
|
||||
|
|
@ -2781,7 +2781,7 @@ x_53 = l_Lean_nullKind___closed__2;
|
|||
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_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_55 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_56 = lean_array_push(x_55, x_54);
|
||||
x_57 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
||||
x_58 = lean_array_push(x_56, x_57);
|
||||
|
|
|
|||
14
stage0/stdlib/Lean/Elab/Deriving/Hashable.c
generated
14
stage0/stdlib/Lean/Elab/Deriving/Hashable.c
generated
|
|
@ -73,6 +73,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Deriving_Hashable_mkHashab
|
|||
lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_16821____closed__11;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
lean_object* l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__1;
|
||||
extern lean_object* l_Lean_numLitKind;
|
||||
lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -84,7 +85,6 @@ lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Deriving_Hashable_mkHashableH
|
|||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__13;
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
lean_object* l_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts_match__2(lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_Hashable_mkMatch___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_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__6;
|
||||
|
|
@ -110,9 +110,9 @@ lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction___boxed(lean_object*, l
|
|||
lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_14734____closed__13;
|
||||
lean_object* l_Lean_Elab_Deriving_mkContext(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_NotationExtra___hyg_5711____closed__4;
|
||||
extern lean_object* l_Lean_KernelException_toMessageData___closed__3;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1196,7 +1196,7 @@ lean_inc(x_2);
|
|||
x_60 = lean_array_push(x_2, x_59);
|
||||
x_61 = lean_mk_syntax_ident(x_7);
|
||||
x_62 = lean_array_push(x_60, x_61);
|
||||
x_63 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_63 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_64 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_64, 0, x_63);
|
||||
lean_ctor_set(x_64, 1, x_62);
|
||||
|
|
@ -2105,7 +2105,7 @@ x_40 = l_Lean_nullKind___closed__2;
|
|||
x_41 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_41, 0, x_40);
|
||||
lean_ctor_set(x_41, 1, x_39);
|
||||
x_42 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_42 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_43 = lean_array_push(x_42, x_41);
|
||||
x_44 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
||||
x_45 = lean_array_push(x_43, x_44);
|
||||
|
|
@ -2215,7 +2215,7 @@ x_102 = l_Lean_nullKind___closed__2;
|
|||
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 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_104 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_105 = lean_array_push(x_104, x_103);
|
||||
x_106 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
||||
x_107 = lean_array_push(x_105, x_106);
|
||||
|
|
@ -2355,7 +2355,7 @@ x_175 = l_Lean_nullKind___closed__2;
|
|||
x_176 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_176, 0, x_175);
|
||||
lean_ctor_set(x_176, 1, x_174);
|
||||
x_177 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_177 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_178 = lean_array_push(x_177, x_176);
|
||||
x_179 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
||||
x_180 = lean_array_push(x_178, x_179);
|
||||
|
|
@ -2479,7 +2479,7 @@ x_244 = l_Lean_nullKind___closed__2;
|
|||
x_245 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_245, 0, x_244);
|
||||
lean_ctor_set(x_245, 1, x_243);
|
||||
x_246 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_246 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_247 = lean_array_push(x_246, x_245);
|
||||
x_248 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
||||
x_249 = lean_array_push(x_247, x_248);
|
||||
|
|
|
|||
32
stage0/stdlib/Lean/Elab/Deriving/Inhabited.c
generated
32
stage0/stdlib/Lean/Elab/Deriving/Inhabited.c
generated
|
|
@ -16,7 +16,6 @@ extern "C" {
|
|||
lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_forallTelescopeCompatibleAux___rarg___lambda__4___closed__4;
|
||||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith(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_NotationExtra___hyg_5711____closed__10;
|
||||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_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___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_mkInhabitedInstanceHandler___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -26,7 +25,6 @@ lean_object* l_List_map___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab
|
|||
lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
extern lean_object* l_instReprSigma___rarg___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__24;
|
||||
lean_object* l_List_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_instBinder;
|
||||
|
|
@ -66,7 +64,6 @@ lean_object* l_Lean_MessageData_ofList(lean_object*);
|
|||
lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__26;
|
||||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
|
|
@ -84,6 +81,7 @@ extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_947___
|
|||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_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*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBNode_setBlack___rarg(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__25;
|
||||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_match__1(lean_object*);
|
||||
lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -101,11 +99,11 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp
|
|||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_implicitBinderF;
|
||||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParams___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_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux_match__1(lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___spec__8___closed__2;
|
||||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith_match__1(lean_object*);
|
||||
|
|
@ -142,14 +140,17 @@ lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedIn
|
|||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__5;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__9;
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__7(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_KernelException_toMessageData___closed__3;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_mkInhabitedInstanceHandler___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParams(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___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_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__23;
|
||||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__2;
|
||||
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
|
||||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__1___closed__1;
|
||||
|
|
@ -165,7 +166,6 @@ extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1354____close
|
|||
lean_object* l_Lean_Meta_trySynthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
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*);
|
||||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts_match__2(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
lean_object* l_Std_RBNode_revFold___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__3___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__9;
|
||||
|
|
@ -5225,7 +5225,7 @@ lean_ctor_set(x_50, 1, x_49);
|
|||
x_51 = lean_array_push(x_23, x_50);
|
||||
x_52 = lean_mk_syntax_ident(x_1);
|
||||
x_53 = lean_array_push(x_51, x_52);
|
||||
x_54 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_54 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_55 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_55, 0, x_54);
|
||||
lean_ctor_set(x_55, 1, x_53);
|
||||
|
|
@ -5367,12 +5367,12 @@ if (x_122 == 0)
|
|||
lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156;
|
||||
x_123 = lean_ctor_get(x_121, 0);
|
||||
lean_dec(x_123);
|
||||
x_124 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_124 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
lean_inc(x_117);
|
||||
x_125 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_125, 0, x_117);
|
||||
lean_ctor_set(x_125, 1, x_124);
|
||||
x_126 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__24;
|
||||
x_126 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__23;
|
||||
x_127 = lean_array_push(x_126, x_125);
|
||||
x_128 = lean_array_push(x_127, x_64);
|
||||
x_129 = lean_array_push(x_128, x_64);
|
||||
|
|
@ -5394,7 +5394,7 @@ x_138 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_138, 0, x_137);
|
||||
lean_ctor_set(x_138, 1, x_136);
|
||||
x_139 = lean_array_push(x_132, x_138);
|
||||
x_140 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__26;
|
||||
x_140 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__25;
|
||||
x_141 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_141, 0, x_140);
|
||||
lean_ctor_set(x_141, 1, x_139);
|
||||
|
|
@ -5411,11 +5411,11 @@ x_149 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_149, 0, x_148);
|
||||
lean_ctor_set(x_149, 1, x_147);
|
||||
x_150 = lean_array_push(x_142, x_149);
|
||||
x_151 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
x_151 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_152 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_152, 0, x_151);
|
||||
lean_ctor_set(x_152, 1, x_150);
|
||||
x_153 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__10;
|
||||
x_153 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__9;
|
||||
x_154 = lean_array_push(x_153, x_152);
|
||||
x_155 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1354____closed__5;
|
||||
x_156 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -5430,12 +5430,12 @@ lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160;
|
|||
x_157 = lean_ctor_get(x_121, 1);
|
||||
lean_inc(x_157);
|
||||
lean_dec(x_121);
|
||||
x_158 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_158 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
lean_inc(x_117);
|
||||
x_159 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_159, 0, x_117);
|
||||
lean_ctor_set(x_159, 1, x_158);
|
||||
x_160 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__24;
|
||||
x_160 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__23;
|
||||
x_161 = lean_array_push(x_160, x_159);
|
||||
x_162 = lean_array_push(x_161, x_64);
|
||||
x_163 = lean_array_push(x_162, x_64);
|
||||
|
|
@ -5457,7 +5457,7 @@ x_172 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_172, 0, x_171);
|
||||
lean_ctor_set(x_172, 1, x_170);
|
||||
x_173 = lean_array_push(x_166, x_172);
|
||||
x_174 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__26;
|
||||
x_174 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__25;
|
||||
x_175 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_175, 0, x_174);
|
||||
lean_ctor_set(x_175, 1, x_173);
|
||||
|
|
@ -5474,11 +5474,11 @@ x_183 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_183, 0, x_182);
|
||||
lean_ctor_set(x_183, 1, x_181);
|
||||
x_184 = lean_array_push(x_176, x_183);
|
||||
x_185 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
x_185 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_186 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_186, 0, x_185);
|
||||
lean_ctor_set(x_186, 1, x_184);
|
||||
x_187 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__10;
|
||||
x_187 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__9;
|
||||
x_188 = lean_array_push(x_187, x_186);
|
||||
x_189 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1354____closed__5;
|
||||
x_190 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
|
|||
16
stage0/stdlib/Lean/Elab/Deriving/Ord.c
generated
16
stage0/stdlib/Lean/Elab/Deriving/Ord.c
generated
|
|
@ -78,6 +78,7 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Elab_Deriving_Ord_mkMatch(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_16821____closed__11;
|
||||
lean_object* l_Lean_isInductive___at_Lean_Elab_Deriving_Ord_mkOrdInstanceHandler___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
lean_object* l_Lean_Elab_Deriving_Ord_mkMatch_mkAlts_match__2(lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_mkInstanceCmds(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_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -93,7 +94,6 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Elab_Deriving_Ord_mkOrdInstanceHandler(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_Ord_mkMatch_mkAlts_match__1(lean_object*);
|
||||
lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
lean_object* l_Lean_isInductive___at_Lean_Elab_Deriving_Ord_mkOrdInstanceHandler___spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__7___lambda__1___closed__4;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_8420____closed__6;
|
||||
|
|
@ -124,10 +124,10 @@ lean_object* l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(lean_obje
|
|||
lean_object* l_Lean_Elab_Deriving_mkHeader___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_myMacro____x40_Init_Notation___hyg_14734____closed__13;
|
||||
lean_object* l_Lean_Elab_Deriving_mkContext(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_NotationExtra___hyg_5711____closed__4;
|
||||
extern lean_object* l_Lean_KernelException_toMessageData___closed__3;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
extern lean_object* l_Lean_Syntax_mkAntiquotNode___closed__9;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
|
||||
|
|
@ -1688,7 +1688,7 @@ x_70 = lean_array_push(x_2, x_69);
|
|||
x_71 = lean_mk_syntax_ident(x_4);
|
||||
lean_inc(x_71);
|
||||
x_72 = lean_array_push(x_70, x_71);
|
||||
x_73 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_73 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_74 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_74, 0, x_73);
|
||||
lean_ctor_set(x_74, 1, x_72);
|
||||
|
|
@ -2136,7 +2136,7 @@ x_274 = lean_array_push(x_2, x_273);
|
|||
x_275 = lean_mk_syntax_ident(x_4);
|
||||
lean_inc(x_275);
|
||||
x_276 = lean_array_push(x_274, x_275);
|
||||
x_277 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_277 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_278 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_278, 0, x_277);
|
||||
lean_ctor_set(x_278, 1, x_276);
|
||||
|
|
@ -3155,7 +3155,7 @@ x_181 = l_Lean_nullKind___closed__2;
|
|||
x_182 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_182, 0, x_181);
|
||||
lean_ctor_set(x_182, 1, x_180);
|
||||
x_183 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_183 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_184 = lean_array_push(x_183, x_182);
|
||||
x_185 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
||||
x_186 = lean_array_push(x_184, x_185);
|
||||
|
|
@ -3264,7 +3264,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_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_245 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_246 = lean_array_push(x_245, x_244);
|
||||
x_247 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
||||
x_248 = lean_array_push(x_246, x_247);
|
||||
|
|
@ -3405,7 +3405,7 @@ x_32 = l_Lean_nullKind___closed__2;
|
|||
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 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_34 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_35 = lean_array_push(x_34, x_33);
|
||||
x_36 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
||||
x_37 = lean_array_push(x_35, x_36);
|
||||
|
|
@ -3528,7 +3528,7 @@ x_101 = l_Lean_nullKind___closed__2;
|
|||
x_102 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_102, 0, x_101);
|
||||
lean_ctor_set(x_102, 1, x_100);
|
||||
x_103 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_103 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_104 = lean_array_push(x_103, x_102);
|
||||
x_105 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
||||
x_106 = lean_array_push(x_104, x_105);
|
||||
|
|
|
|||
14
stage0/stdlib/Lean/Elab/Deriving/Repr.c
generated
14
stage0/stdlib/Lean/Elab/Deriving/Repr.c
generated
|
|
@ -103,6 +103,7 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
|||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_16821____closed__11;
|
||||
lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
extern lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_26____closed__3;
|
||||
lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForInduct___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_Deriving_mkInstanceCmds(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -123,7 +124,6 @@ extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__14;
|
|||
lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct_match__1___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__43;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
extern lean_object* l_Lean_strLitKind___closed__2;
|
||||
extern lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_26____closed__5;
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__4___lambda__1___closed__19;
|
||||
|
|
@ -164,10 +164,10 @@ lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAl
|
|||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_14734____closed__13;
|
||||
lean_object* l_Lean_Elab_Deriving_mkContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__4___lambda__1___closed__16;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
extern lean_object* l_Lean_KernelException_toMessageData___closed__3;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
extern lean_object* l_term___x2b_x2b_____closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Deriving_Repr_mkReprInstanceHandler___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -3535,7 +3535,7 @@ lean_inc(x_2);
|
|||
x_74 = lean_array_push(x_2, x_73);
|
||||
x_75 = lean_mk_syntax_ident(x_6);
|
||||
x_76 = lean_array_push(x_74, x_75);
|
||||
x_77 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_77 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_78 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_78, 0, x_77);
|
||||
lean_ctor_set(x_78, 1, x_76);
|
||||
|
|
@ -4735,7 +4735,7 @@ x_31 = l_Lean_nullKind___closed__2;
|
|||
x_32 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_31);
|
||||
lean_ctor_set(x_32, 1, x_30);
|
||||
x_33 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_33 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_34 = lean_array_push(x_33, x_32);
|
||||
x_35 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
||||
x_36 = lean_array_push(x_34, x_35);
|
||||
|
|
@ -4844,7 +4844,7 @@ x_93 = l_Lean_nullKind___closed__2;
|
|||
x_94 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_94, 0, x_93);
|
||||
lean_ctor_set(x_94, 1, x_92);
|
||||
x_95 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_95 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_96 = lean_array_push(x_95, x_94);
|
||||
x_97 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
||||
x_98 = lean_array_push(x_96, x_97);
|
||||
|
|
@ -4970,7 +4970,7 @@ x_164 = l_Lean_nullKind___closed__2;
|
|||
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_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_166 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_167 = lean_array_push(x_166, x_165);
|
||||
x_168 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
||||
x_169 = lean_array_push(x_167, x_168);
|
||||
|
|
@ -5093,7 +5093,7 @@ x_233 = l_Lean_nullKind___closed__2;
|
|||
x_234 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_234, 0, x_233);
|
||||
lean_ctor_set(x_234, 1, x_232);
|
||||
x_235 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__4;
|
||||
x_235 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_236 = lean_array_push(x_235, x_234);
|
||||
x_237 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
||||
x_238 = lean_array_push(x_236, x_237);
|
||||
|
|
|
|||
18
stage0/stdlib/Lean/Elab/Deriving/Util.c
generated
18
stage0/stdlib/Lean/Elab/Deriving/Util.c
generated
|
|
@ -23,6 +23,7 @@ lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInstImpl
|
|||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_mkInstanceCmds___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_instReprSigma___rarg___closed__2;
|
||||
lean_object* l_Lean_Elab_Deriving_mkInstImplicitBinders___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_NotationExtra___hyg_5711____closed__24;
|
||||
lean_object* l_Lean_LocalDecl_userName(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_instBinder;
|
||||
lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_Deriving_mkDiscrs___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -82,7 +83,6 @@ lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_mkContext___spec__4___clo
|
|||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_mkContext___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_mkInstImplicitBinders___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_mkInductiveApp___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__25;
|
||||
lean_object* l_Lean_Elab_Deriving_mkDiscrs___boxed__const__1;
|
||||
lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_mkDiscr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -97,6 +97,7 @@ lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Deriving_mkLet___spec__1__
|
|||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_8912____closed__6;
|
||||
lean_object* l_Lean_Elab_Deriving_mkLet___boxed(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_NotationExtra___hyg_5711____closed__20;
|
||||
lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_Deriving_mkDiscrs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_mkArrow___closed__2;
|
||||
lean_object* l_Lean_Elab_Deriving_mkLet(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -104,7 +105,6 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
|||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_mkContext___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_mkDiscrs___spec__2(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_NotationExtra___hyg_5711____closed__28;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_mkHeader___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___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -129,6 +129,7 @@ lean_object* l_Lean_Elab_Deriving_mkContext(lean_object*, lean_object*, lean_obj
|
|||
extern lean_object* l_Lean_KernelException_toMessageData___closed__3;
|
||||
lean_object* l_Lean_Elab_Deriving_mkInductArgNames___closed__1;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_mkImplicitBinders___boxed__const__1;
|
||||
extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
|
||||
|
|
@ -149,7 +150,6 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
|||
extern lean_object* l_Lean_Parser_Term_explicitBinder___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Deriving_explicitBinderF;
|
||||
lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_mkContext___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInstImplicitBinders___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_mkInstanceCmds___spec__1___boxed(lean_object**);
|
||||
|
|
@ -569,7 +569,7 @@ lean_ctor_set(x_28, 1, x_27);
|
|||
x_29 = l_Array_empty___closed__1;
|
||||
x_30 = lean_array_push(x_29, x_28);
|
||||
x_31 = lean_array_push(x_30, x_12);
|
||||
x_32 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_32 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_33 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_33, 0, x_32);
|
||||
lean_ctor_set(x_33, 1, x_31);
|
||||
|
|
@ -601,7 +601,7 @@ lean_ctor_set(x_43, 1, x_42);
|
|||
x_44 = l_Array_empty___closed__1;
|
||||
x_45 = lean_array_push(x_44, x_43);
|
||||
x_46 = lean_array_push(x_45, x_12);
|
||||
x_47 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_47 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_48 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_48, 0, x_47);
|
||||
lean_ctor_set(x_48, 1, x_46);
|
||||
|
|
@ -2504,7 +2504,7 @@ lean_ctor_set(x_37, 0, x_29);
|
|||
lean_ctor_set(x_37, 1, x_36);
|
||||
lean_inc(x_3);
|
||||
x_38 = lean_array_push(x_3, x_37);
|
||||
x_39 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_39 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
lean_inc(x_25);
|
||||
x_40 = lean_name_mk_string(x_25, x_39);
|
||||
x_41 = l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__3;
|
||||
|
|
@ -2524,7 +2524,7 @@ lean_inc(x_30);
|
|||
x_47 = lean_array_push(x_46, x_30);
|
||||
lean_inc(x_30);
|
||||
x_48 = lean_array_push(x_47, x_30);
|
||||
x_49 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__25;
|
||||
x_49 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__24;
|
||||
lean_inc(x_25);
|
||||
x_50 = lean_name_mk_string(x_25, x_49);
|
||||
lean_inc(x_3);
|
||||
|
|
@ -2616,7 +2616,7 @@ lean_ctor_set(x_92, 0, x_84);
|
|||
lean_ctor_set(x_92, 1, x_91);
|
||||
lean_inc(x_3);
|
||||
x_93 = lean_array_push(x_3, x_92);
|
||||
x_94 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_94 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
lean_inc(x_80);
|
||||
x_95 = lean_name_mk_string(x_80, x_94);
|
||||
x_96 = l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__3;
|
||||
|
|
@ -2636,7 +2636,7 @@ lean_inc(x_85);
|
|||
x_102 = lean_array_push(x_101, x_85);
|
||||
lean_inc(x_85);
|
||||
x_103 = lean_array_push(x_102, x_85);
|
||||
x_104 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__25;
|
||||
x_104 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__24;
|
||||
lean_inc(x_80);
|
||||
x_105 = lean_name_mk_string(x_80, x_104);
|
||||
lean_inc(x_3);
|
||||
|
|
|
|||
938
stage0/stdlib/Lean/Elab/Do.c
generated
938
stage0/stdlib/Lean/Elab/Do.c
generated
File diff suppressed because it is too large
Load diff
18
stage0/stdlib/Lean/Elab/Inductive.c
generated
18
stage0/stdlib/Lean/Elab/Inductive.c
generated
|
|
@ -74,6 +74,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_9160____closed__4;
|
|||
lean_object* l_Lean_Elab_Command_instInhabitedInductiveView;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_8668____closed__4;
|
||||
lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux_match__1(lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__12(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -217,6 +218,7 @@ lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__2___boxed(lean_obj
|
|||
lean_object* l_Lean_mkBInductionOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__2___lambda__1(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls(lean_object*);
|
||||
|
|
@ -302,7 +304,6 @@ extern lean_object* l_Lean_instInhabitedExpr;
|
|||
lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__2;
|
||||
lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_shouldInferResultUniverse___closed__2;
|
||||
|
|
@ -387,7 +388,6 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(l
|
|||
lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___spec__1___rarg(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_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*);
|
||||
lean_object* l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
extern uint8_t l_instInhabitedBool;
|
||||
lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -517,6 +517,7 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDec
|
|||
lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__1;
|
||||
extern lean_object* l_Lean_CollectFVars_instInhabitedState___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_accLevelAtCtor_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_insert___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_getAppFn(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkHeader_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___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*);
|
||||
|
|
@ -529,7 +530,6 @@ lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___box
|
|||
lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___closed__1;
|
||||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(lean_object*, lean_object*);
|
||||
lean_object* lean_mk_rec_on(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*);
|
||||
|
|
@ -6149,7 +6149,7 @@ if (x_14 == 0)
|
|||
lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_15 = lean_ctor_get(x_13, 0);
|
||||
x_16 = lean_ctor_get(x_13, 1);
|
||||
x_17 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_15, x_5);
|
||||
x_17 = l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(x_15, x_5);
|
||||
lean_dec(x_15);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
|
|
@ -6184,7 +6184,7 @@ x_24 = lean_ctor_get(x_22, 1);
|
|||
lean_inc(x_24);
|
||||
lean_dec(x_22);
|
||||
lean_inc(x_23);
|
||||
x_25 = lean_alloc_closure((void*)(l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__2), 3, 2);
|
||||
x_25 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__12), 3, 2);
|
||||
lean_closure_set(x_25, 0, x_5);
|
||||
lean_closure_set(x_25, 1, x_23);
|
||||
x_26 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2);
|
||||
|
|
@ -6297,7 +6297,7 @@ x_42 = lean_ctor_get(x_13, 1);
|
|||
lean_inc(x_42);
|
||||
lean_inc(x_41);
|
||||
lean_dec(x_13);
|
||||
x_43 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_41, x_5);
|
||||
x_43 = l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(x_41, x_5);
|
||||
lean_dec(x_41);
|
||||
if (lean_obj_tag(x_43) == 0)
|
||||
{
|
||||
|
|
@ -6331,7 +6331,7 @@ x_50 = lean_ctor_get(x_48, 1);
|
|||
lean_inc(x_50);
|
||||
lean_dec(x_48);
|
||||
lean_inc(x_49);
|
||||
x_51 = lean_alloc_closure((void*)(l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__2), 3, 2);
|
||||
x_51 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__12), 3, 2);
|
||||
lean_closure_set(x_51, 0, x_5);
|
||||
lean_closure_set(x_51, 1, x_49);
|
||||
x_52 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2);
|
||||
|
|
@ -12755,7 +12755,7 @@ lean_inc(x_18);
|
|||
lean_dec(x_15);
|
||||
lean_inc(x_3);
|
||||
x_19 = l_Lean_mkConst(x_18, x_3);
|
||||
x_20 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_7, x_17, x_19);
|
||||
x_20 = l_Std_HashMapImp_insert___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__3(x_7, x_17, x_19);
|
||||
x_21 = lean_ctor_get(x_4, 2);
|
||||
x_22 = lean_nat_add(x_6, x_21);
|
||||
lean_dec(x_6);
|
||||
|
|
@ -12848,7 +12848,7 @@ goto block_215;
|
|||
else
|
||||
{
|
||||
lean_object* x_222;
|
||||
x_222 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_2, x_5);
|
||||
x_222 = l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(x_2, x_5);
|
||||
if (lean_obj_tag(x_222) == 0)
|
||||
{
|
||||
lean_object* x_223;
|
||||
|
|
|
|||
120
stage0/stdlib/Lean/Elab/InfoTree.c
generated
120
stage0/stdlib/Lean/Elab/InfoTree.c
generated
|
|
@ -101,8 +101,8 @@ lean_object* l_Std_PersistentArray_get_x21___at_Lean_Elab_withInfoHole___spec__1
|
|||
lean_object* l_Lean_Elab_pushInfoLeaf___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Info_format_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
lean_object* l_Lean_Elab_InfoTree_format_match__2(lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_pushInfoLeaf(lean_object*);
|
||||
lean_object* l_Lean_Elab_withInfoHole(lean_object*, lean_object*);
|
||||
|
|
@ -118,7 +118,6 @@ lean_object* l_Lean_Elab_FieldInfo_format___lambda__1___boxed(lean_object*, lean
|
|||
extern lean_object* l_Lean_LocalContext_empty;
|
||||
lean_object* l_Lean_Elab_instInhabitedMacroExpansionInfo___closed__1;
|
||||
lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_mkInfoNode(lean_object*);
|
||||
lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_pushInfoTree___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_withMacroExpansionInfo___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -139,7 +138,6 @@ lean_object* l_Lean_Elab_getInfoHoleIdAssignment_x3f___rarg___lambda__1(lean_obj
|
|||
lean_object* l_ReaderT_pure___at_Lean_Elab_CompletionInfo_format___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_PersistentHashMap_insertAux___rarg___closed__3;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_mkPersistentArray___rarg___closed__1;
|
||||
lean_object* l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxRange_fmtPos_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_pushInfoTree___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -162,7 +160,6 @@ lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___rarg___lambda__2___boxed(
|
|||
lean_object* l_Lean_Elab_withInfoContext_x27_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_MetavarContext_instInhabitedMetavarContext___closed__1;
|
||||
lean_object* l_Lean_Elab_mkInfoNode___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_ContextInfo_ppSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_instInhabited___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Std_fmt___at_Lean_Elab_CompletionInfo_format___spec__2(lean_object*);
|
||||
|
|
@ -194,7 +191,6 @@ lean_object* l_Lean_Elab_instMonadInfoTree___rarg___lambda__1(lean_object*, lean
|
|||
lean_object* l_Lean_Elab_withInfoContext_x27_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_instInhabitedCommandInfo;
|
||||
size_t l_USize_shiftLeft(size_t, size_t);
|
||||
lean_object* l_Lean_Elab_mkInfoNode___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_MacroExpansionInfo_format___closed__2;
|
||||
lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Elab_assignInfoHoleId___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_TermInfo_format(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -300,10 +296,8 @@ lean_object* l_Lean_Elab_withInfoContext_x27_match__2(lean_object*, lean_object*
|
|||
lean_object* l_Lean_Elab_instInhabitedContextInfo;
|
||||
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ppTerm(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_mkInfoNode___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_withInfoTreeContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_mkInfoNode___rarg___lambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_enableInfoTree___rarg___lambda__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Elab_InfoTree_substitute___spec__6___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -3309,7 +3303,7 @@ lean_ctor_set(x_21, 1, x_20);
|
|||
x_22 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_21);
|
||||
lean_ctor_set(x_22, 1, x_11);
|
||||
x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_24 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_22);
|
||||
lean_ctor_set(x_24, 1, x_23);
|
||||
|
|
@ -3356,7 +3350,7 @@ lean_ctor_set(x_39, 1, x_38);
|
|||
x_40 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_39);
|
||||
lean_ctor_set(x_40, 1, x_11);
|
||||
x_41 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_41 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_42 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_42, 0, x_40);
|
||||
lean_ctor_set(x_42, 1, x_41);
|
||||
|
|
@ -5956,112 +5950,6 @@ lean_dec(x_8);
|
|||
return x_9;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_mkInfoNode___rarg___lambda__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = !lean_is_exclusive(x_2);
|
||||
if (x_3 == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_4 = lean_ctor_get(x_2, 1);
|
||||
x_5 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_4);
|
||||
x_6 = l_Std_mkPersistentArray___rarg___closed__1;
|
||||
x_7 = l_Std_PersistentArray_push___rarg(x_6, x_5);
|
||||
lean_ctor_set(x_2, 1, x_7);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
x_8 = lean_ctor_get_uint8(x_2, sizeof(void*)*2);
|
||||
x_9 = lean_ctor_get(x_2, 0);
|
||||
x_10 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_2);
|
||||
x_11 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_11, 0, x_1);
|
||||
lean_ctor_set(x_11, 1, x_10);
|
||||
x_12 = l_Std_mkPersistentArray___rarg___closed__1;
|
||||
x_13 = l_Std_PersistentArray_push___rarg(x_12, x_11);
|
||||
x_14 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_14, 0, x_9);
|
||||
lean_ctor_set(x_14, 1, x_13);
|
||||
lean_ctor_set_uint8(x_14, sizeof(void*)*2, x_8);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_mkInfoNode___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = lean_ctor_get_uint8(x_4, sizeof(void*)*2);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_1);
|
||||
x_7 = lean_ctor_get(x_6, 1);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_6);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = lean_apply_2(x_7, lean_box(0), x_8);
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
lean_dec(x_1);
|
||||
x_10 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_2);
|
||||
x_11 = lean_alloc_closure((void*)(l_Lean_Elab_mkInfoNode___rarg___lambda__1), 2, 1);
|
||||
lean_closure_set(x_11, 0, x_3);
|
||||
x_12 = lean_apply_1(x_10, x_11);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_mkInfoNode___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_4 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_4);
|
||||
x_5 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_alloc_closure((void*)(l_Lean_Elab_mkInfoNode___rarg___lambda__2___boxed), 4, 3);
|
||||
lean_closure_set(x_6, 0, x_1);
|
||||
lean_closure_set(x_6, 1, x_2);
|
||||
lean_closure_set(x_6, 2, x_3);
|
||||
x_7 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_mkInfoNode(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Elab_mkInfoNode___rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_mkInfoNode___rarg___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_Elab_mkInfoNode___rarg___lambda__2(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_withInfoContext_x27_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -7372,7 +7260,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__3;
|
||||
x_2 = l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__4;
|
||||
x_3 = lean_unsigned_to_nat(307u);
|
||||
x_3 = lean_unsigned_to_nat(303u);
|
||||
x_4 = lean_unsigned_to_nat(2u);
|
||||
x_5 = l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__2;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Elab/Match.c
generated
10
stage0/stdlib/Lean/Elab/Match.c
generated
|
|
@ -442,7 +442,6 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs
|
|||
lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern(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_mkUserNameFor_match__1(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar_isAtomicIdent___boxed(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp_match__1___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -617,6 +616,7 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop_
|
|||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__11;
|
||||
extern lean_object* l_Lean_NameSet_empty;
|
||||
lean_object* l_Lean_Elab_Term_precheckMatch_match__4(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews(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_mkFreshId___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ConstantInfo_type(lean_object*);
|
||||
|
|
@ -2277,7 +2277,7 @@ x_10 = l_Lean_Syntax_isOfKind(x_1, x_9);
|
|||
if (x_10 == 0)
|
||||
{
|
||||
lean_object* x_11; uint8_t x_12;
|
||||
x_11 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_11 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
lean_inc(x_1);
|
||||
x_12 = l_Lean_Syntax_isOfKind(x_1, x_11);
|
||||
if (x_12 == 0)
|
||||
|
|
@ -5451,7 +5451,7 @@ x_29 = lean_array_push(x_28, x_27);
|
|||
x_30 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_30);
|
||||
x_31 = lean_array_push(x_29, x_30);
|
||||
x_32 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_32 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_33 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_33, 0, x_32);
|
||||
lean_ctor_set(x_33, 1, x_31);
|
||||
|
|
@ -5477,7 +5477,7 @@ x_40 = lean_array_push(x_39, x_38);
|
|||
x_41 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_41);
|
||||
x_42 = lean_array_push(x_40, x_41);
|
||||
x_43 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_43 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_44 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_44, 0, x_43);
|
||||
lean_ctor_set(x_44, 1, x_42);
|
||||
|
|
@ -8277,7 +8277,7 @@ x_15 = l_Lean_Syntax_isOfKind(x_1, x_14);
|
|||
if (x_15 == 0)
|
||||
{
|
||||
lean_object* x_16; uint8_t x_17;
|
||||
x_16 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_16 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
lean_inc(x_1);
|
||||
x_17 = l_Lean_Syntax_isOfKind(x_1, x_16);
|
||||
if (x_17 == 0)
|
||||
|
|
|
|||
1123
stage0/stdlib/Lean/Elab/MutualDef.c
generated
1123
stage0/stdlib/Lean/Elab/MutualDef.c
generated
File diff suppressed because it is too large
Load diff
2173
stage0/stdlib/Lean/Elab/Quotation.c
generated
2173
stage0/stdlib/Lean/Elab/Quotation.c
generated
File diff suppressed because it is too large
Load diff
136
stage0/stdlib/Lean/Elab/Quotation/Precheck.c
generated
136
stage0/stdlib/Lean/Elab/Quotation/Precheck.c
generated
|
|
@ -36,6 +36,7 @@ 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);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_68_(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90_(lean_object*);
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_Quotation_precheck___spec__3___boxed(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_2278____closed__2;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Quotation_precheckParen___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*);
|
||||
|
|
@ -57,6 +58,7 @@ uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_68____closed__2;
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_instInhabitedParserDescr___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_namedArgument___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheck___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -67,6 +69,7 @@ extern lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__2;
|
|||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_mkPrecheckAttribute(lean_object*);
|
||||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
uint8_t l_Lean_NameMap_contains___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Quotation_precheckParen___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_precheck___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -87,6 +90,7 @@ lean_object* l_Lean_Elab_Term_Quotation_quotPrecheck;
|
|||
lean_object* l_Lean_Elab_Term_Quotation_precheck_hasQuotedIdent_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_precheck___lambda__1___closed__5;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_quotPrecheck_allowSectionVars;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_precheckParen___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__5;
|
||||
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
|
||||
|
|
@ -103,6 +107,7 @@ uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*)
|
|||
lean_object* l_Lean_Elab_Term_Quotation_precheck_hasQuotedIdent_match__1(lean_object*);
|
||||
extern lean_object* l_Lean_Elab_autoBoundImplicitLocal___closed__1;
|
||||
uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_precheck_hasQuotedIdent___spec__1(lean_object*, size_t, size_t);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__3;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_getValues___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -111,8 +116,10 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__7(
|
|||
extern lean_object* l_Lean_KernelException_toMessageData___closed__15;
|
||||
lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___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_Term_Quotation_withNewLocals(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___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* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_KernelException_toMessageData___closed__3;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__4;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_precheck___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_NameSet_empty;
|
||||
|
|
@ -167,10 +174,12 @@ lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_precheck_hasQu
|
|||
uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Term_resolveName_process___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__1;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_withNewLocals___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_Term_Quotation_precheckIdent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_isEmpty___rarg(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__2;
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_init___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_precheckIdent_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Term_Quotation_hygiene;
|
||||
|
|
@ -346,6 +355,57 @@ x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("allowSectionVars");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_68____closed__2;
|
||||
x_2 = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("Allow occurrences of section variables in checked quotations, it is useful when declaring local notation.");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__4() {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = 0;
|
||||
x_2 = l_Lean_instInhabitedParserDescr___closed__1;
|
||||
x_3 = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__3;
|
||||
x_4 = lean_box(x_1);
|
||||
x_5 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__2;
|
||||
x_3 = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__4;
|
||||
x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -2230,13 +2290,52 @@ return x_16;
|
|||
lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___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) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
x_11 = lean_ctor_get(x_8, 0);
|
||||
x_12 = l_Lean_Elab_Term_Quotation_quotPrecheck_allowSectionVars;
|
||||
x_13 = l_Lean_Option_get___at_Lean_ppExpr___spec__1(x_11, x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15;
|
||||
x_14 = lean_box(0);
|
||||
x_15 = l_Lean_Elab_Term_Quotation_precheckIdent___lambda__1(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
return x_15;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_16; uint8_t x_17;
|
||||
x_16 = lean_ctor_get(x_4, 6);
|
||||
x_17 = l_Lean_NameMap_contains___rarg(x_16, x_1);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19;
|
||||
x_18 = lean_box(0);
|
||||
x_19 = l_Lean_Elab_Term_Quotation_precheckIdent___lambda__1(x_1, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21;
|
||||
lean_dec(x_1);
|
||||
x_20 = lean_box(0);
|
||||
x_21 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_20);
|
||||
lean_ctor_set(x_21, 1, x_10);
|
||||
return x_21;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_11;
|
||||
x_11 = l_Lean_NameSet_contains(x_3, x_1);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13;
|
||||
x_12 = lean_box(0);
|
||||
x_13 = l_Lean_Elab_Term_Quotation_precheckIdent___lambda__1(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
x_13 = l_Lean_Elab_Term_Quotation_precheckIdent___lambda__2(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
|
|
@ -2251,7 +2350,7 @@ return x_15;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
|
|
@ -2267,7 +2366,7 @@ x_13 = lean_ctor_get(x_11, 1);
|
|||
lean_inc(x_13);
|
||||
lean_dec(x_11);
|
||||
x_14 = lean_box(0);
|
||||
x_15 = l_Lean_Elab_Term_Quotation_precheckIdent___lambda__2(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13);
|
||||
x_15 = l_Lean_Elab_Term_Quotation_precheckIdent___lambda__3(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13);
|
||||
lean_dec(x_8);
|
||||
return x_15;
|
||||
}
|
||||
|
|
@ -2330,7 +2429,7 @@ else
|
|||
{
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
x_15 = lean_box(0);
|
||||
x_16 = l_Lean_Elab_Term_Quotation_precheckIdent___lambda__3(x_10, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
x_16 = l_Lean_Elab_Term_Quotation_precheckIdent___lambda__4(x_10, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
return x_16;
|
||||
}
|
||||
}
|
||||
|
|
@ -2411,6 +2510,22 @@ _start:
|
|||
lean_object* x_11;
|
||||
x_11 = l_Lean_Elab_Term_Quotation_precheckIdent___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Term_Quotation_precheckIdent___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_11;
|
||||
x_11 = l_Lean_Elab_Term_Quotation_precheckIdent___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -3360,6 +3475,19 @@ if (lean_io_result_is_error(res)) return res;
|
|||
l_Lean_Elab_Term_Quotation_quotPrecheck = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_quotPrecheck);
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__1 = _init_l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__1);
|
||||
l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__2 = _init_l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__2);
|
||||
l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__3 = _init_l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__3);
|
||||
l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__4 = _init_l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90____closed__4);
|
||||
res = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation_Precheck___hyg_90_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Elab_Term_Quotation_quotPrecheck_allowSectionVars = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_quotPrecheck_allowSectionVars);
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__1 = _init_l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__1);
|
||||
l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__2 = _init_l_Lean_Elab_Term_Quotation_mkPrecheckAttribute___closed__2();
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/StructInst.c
generated
4
stage0/stdlib/Lean/Elab/StructInst.c
generated
|
|
@ -176,13 +176,13 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_1481____closed__8;
|
|||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__14;
|
||||
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___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_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;
|
||||
lean_object* l_Lean_Elab_Term_StructInst_instInhabitedStruct___closed__1;
|
||||
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__4;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____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*);
|
||||
lean_object* l_List_foldl___at_Lean_Elab_Term_StructInst_DefaultFields_collectStructNames___spec__1___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -5688,7 +5688,7 @@ x_3 = lean_ctor_get(x_2, 1);
|
|||
lean_inc(x_3);
|
||||
x_4 = l_Lean_Elab_Term_StructInst_formatField___closed__2;
|
||||
x_5 = l_Std_Format_joinSep___at_Lean_Elab_Term_StructInst_formatField___spec__1(x_3, x_4);
|
||||
x_6 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_6 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_7 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_5);
|
||||
lean_ctor_set(x_7, 1, x_6);
|
||||
|
|
|
|||
16
stage0/stdlib/Lean/Elab/Structure.c
generated
16
stage0/stdlib/Lean/Elab/Structure.c
generated
|
|
@ -17,6 +17,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lea
|
|||
lean_object* l_List_reverse___rarg(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVar___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_instInhabitedStructFieldInfo;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__10;
|
||||
lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__7(lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__3___closed__2;
|
||||
|
|
@ -237,7 +238,6 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
|||
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*);
|
||||
lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
extern lean_object* l_Lean_Elab_mkDeclName___rarg___closed__2;
|
||||
uint8_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_validStructType(lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -289,13 +289,13 @@ lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint
|
|||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabStructure___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__3(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_getOptDerivingClasses___at_Lean_Elab_Command_elabStructure___spec__2___boxed__const__1;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___spec__4___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_Structure_0__Lean_Elab_Command_withFields_match__2___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -398,6 +398,7 @@ size_t lean_usize_of_nat(lean_object*);
|
|||
lean_object* l_Lean_Elab_expandDeclIdCore(lean_object*);
|
||||
lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, 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_Structure_0__Lean_Elab_Command_expandFields___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__13;
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabDoubleQuotedName___spec__5(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_collectLevelParamsInStructure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -587,7 +588,7 @@ extern lean_object* l_Lean_Parser_Command_private___elambda__1___closed__2;
|
|||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___lambda__3(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*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabStructure_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_appendBefore(lean_object*, lean_object*);
|
||||
lean_object* lean_name_append_before(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_mkOptionalNode___closed__2;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -629,7 +630,6 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean
|
|||
lean_object* l_Lean_Elab_Command_checkValidFieldModifier(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addDocString___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_StructFieldInfo_isSubobject_match__1(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__11;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVars___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* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__6(lean_object*, size_t, size_t, lean_object*);
|
||||
|
|
@ -874,7 +874,7 @@ static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_d
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__3;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -13522,7 +13522,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_myMacro____x40_Init_Notation___hyg_15342____closed__14;
|
||||
x_38 = l_Lean_Name_appendBefore(x_36, x_37);
|
||||
x_38 = lean_name_append_before(x_36, x_37);
|
||||
x_39 = l_Lean_LocalDecl_binderInfo(x_19);
|
||||
x_40 = l_Lean_LocalDecl_type(x_19);
|
||||
lean_dec(x_19);
|
||||
|
|
@ -15571,7 +15571,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1247____closed__1;
|
||||
x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__11;
|
||||
x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__10;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -19401,7 +19401,7 @@ lean_dec(x_6);
|
|||
x_8 = lean_unsigned_to_nat(0u);
|
||||
x_9 = l_Lean_Syntax_getArg(x_2, x_8);
|
||||
x_10 = l_Lean_Syntax_getKind(x_9);
|
||||
x_11 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
x_11 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__13;
|
||||
x_12 = lean_name_eq(x_10, x_11);
|
||||
lean_dec(x_10);
|
||||
x_13 = lean_unsigned_to_nat(1u);
|
||||
|
|
|
|||
829
stage0/stdlib/Lean/Elab/Syntax.c
generated
829
stage0/stdlib/Lean/Elab/Syntax.c
generated
File diff suppressed because it is too large
Load diff
1619
stage0/stdlib/Lean/Elab/SyntheticMVars.c
generated
1619
stage0/stdlib/Lean/Elab/SyntheticMVars.c
generated
File diff suppressed because it is too large
Load diff
1451
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
1451
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
File diff suppressed because it is too large
Load diff
165
stage0/stdlib/Lean/Elab/Tactic/Induction.c
generated
165
stage0/stdlib/Lean/Elab/Tactic/Induction.c
generated
|
|
@ -28,7 +28,7 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_
|
|||
lean_object* lean_erase_macro_scopes(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalInduction___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalInduction_checkTargets___spec__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4152_(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4157_(lean_object*);
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalInduction_checkTargets___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -61,8 +61,8 @@ lean_object* l_Lean_Elab_Tactic_evalInduction___lambda__1(lean_object*, lean_obj
|
|||
lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*);
|
||||
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalInduction___spec__2(size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4152____closed__1;
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___spec__1(lean_object*, size_t, size_t, 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_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4157____closed__1;
|
||||
extern lean_object* l_Lean_Parser_Tactic_induction___closed__2;
|
||||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltsOfOptInductionAlts(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getBindingName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -91,6 +91,7 @@ extern lean_object* l_Lean_instInhabitedParserDescr___closed__1;
|
|||
lean_object* l_List_forM___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___spec__1___lambda__2___closed__4;
|
||||
lean_object* l_Lean_Elab_Tactic_evalTactic(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_ElimApp_evalAlts_match__1(lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__5___lambda__2___closed__8;
|
||||
lean_object* l_Lean_Elab_Tactic_ElimApp_setMotiveArg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -166,7 +167,6 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTagg
|
|||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltRHS___boxed(lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__3___lambda__2(lean_object*, size_t, 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*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getArgExpectedType___boxed(lean_object*);
|
||||
lean_object* l_List_foldlM___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ConstantInfo_levelParams(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_ElimApp_setMotiveArg___closed__1;
|
||||
|
|
@ -200,9 +200,10 @@ lean_object* l_Lean_Meta_tryClear(lean_object*, lean_object*, lean_object*, lean
|
|||
lean_object* l_Lean_Elab_Tactic_closeUsingOrAdmit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___spec__1___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__5___lambda__1___boxed(lean_object**);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___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_withTacticInfoContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_getInductiveValFromMajor(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_getAltDArrow___boxed(lean_object*);
|
||||
|
|
@ -359,7 +360,6 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generali
|
|||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltName(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltsOfInductionAlts___boxed(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalAlt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__3;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalCases___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*);
|
||||
|
|
@ -459,7 +459,7 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_
|
|||
lean_object* l_Lean_indentExpr(lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_elabSetOption___spec__7(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_ElimApp_mkElimApp_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_bindingBody_x21(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_elabTargets___boxed__const__1;
|
||||
lean_object* l_Lean_Elab_Tactic_evalCases___lambda__3___boxed__const__1;
|
||||
|
|
@ -781,56 +781,61 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withMVarContext___at_Lean_Elab_Tact
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
|
||||
lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_13;
|
||||
x_13 = l_Lean_Elab_Tactic_closeUsingOrAdmit(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
|
||||
if (lean_obj_tag(x_13) == 0)
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTactic), 10, 1);
|
||||
lean_closure_set(x_14, 0, x_1);
|
||||
x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withTacticInfoContext___rarg), 11, 2);
|
||||
lean_closure_set(x_15, 0, x_2);
|
||||
lean_closure_set(x_15, 1, x_14);
|
||||
x_16 = l_Lean_Elab_Tactic_closeUsingOrAdmit(x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
|
||||
if (lean_obj_tag(x_16) == 0)
|
||||
{
|
||||
uint8_t x_14;
|
||||
x_14 = !lean_is_exclusive(x_13);
|
||||
if (x_14 == 0)
|
||||
uint8_t x_17;
|
||||
x_17 = !lean_is_exclusive(x_16);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
lean_object* x_15;
|
||||
x_15 = lean_ctor_get(x_13, 0);
|
||||
lean_dec(x_15);
|
||||
lean_ctor_set(x_13, 0, x_2);
|
||||
return x_13;
|
||||
lean_object* x_18;
|
||||
x_18 = lean_ctor_get(x_16, 0);
|
||||
lean_dec(x_18);
|
||||
lean_ctor_set(x_16, 0, x_3);
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17;
|
||||
x_16 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_13);
|
||||
x_17 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_17, 0, x_2);
|
||||
lean_ctor_set(x_17, 1, x_16);
|
||||
return x_17;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_18;
|
||||
lean_dec(x_2);
|
||||
x_18 = !lean_is_exclusive(x_13);
|
||||
if (x_18 == 0)
|
||||
{
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20; lean_object* x_21;
|
||||
x_19 = lean_ctor_get(x_13, 0);
|
||||
x_20 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_20);
|
||||
lean_object* x_19; lean_object* x_20;
|
||||
x_19 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_13);
|
||||
x_21 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_19);
|
||||
lean_ctor_set(x_21, 1, x_20);
|
||||
return x_21;
|
||||
lean_dec(x_16);
|
||||
x_20 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_3);
|
||||
lean_ctor_set(x_20, 1, x_19);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_21;
|
||||
lean_dec(x_3);
|
||||
x_21 = !lean_is_exclusive(x_16);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_22 = lean_ctor_get(x_16, 0);
|
||||
x_23 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_23);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_16);
|
||||
x_24 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_22);
|
||||
lean_ctor_set(x_24, 1, x_23);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1279,9 +1284,10 @@ lean_ctor_set(x_19, 1, x_18);
|
|||
x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_setGoals___boxed), 10, 1);
|
||||
lean_closure_set(x_20, 0, x_19);
|
||||
lean_inc(x_14);
|
||||
x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAlt___lambda__1___boxed), 12, 2);
|
||||
x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAlt___lambda__1___boxed), 13, 3);
|
||||
lean_closure_set(x_21, 0, x_14);
|
||||
lean_closure_set(x_21, 1, x_3);
|
||||
lean_closure_set(x_21, 1, x_2);
|
||||
lean_closure_set(x_21, 2, x_3);
|
||||
x_22 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaMAtMain___spec__1___rarg), 11, 2);
|
||||
lean_closure_set(x_22, 0, x_20);
|
||||
lean_closure_set(x_22, 1, x_21);
|
||||
|
|
@ -1291,6 +1297,7 @@ return x_23;
|
|||
else
|
||||
{
|
||||
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_dec(x_2);
|
||||
lean_inc(x_1);
|
||||
lean_inc(x_14);
|
||||
x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAlt___lambda__3___boxed), 12, 2);
|
||||
|
|
@ -1313,13 +1320,13 @@ return x_30;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
|
||||
lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_13;
|
||||
x_13 = l_Lean_Elab_Tactic_evalAlt___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
|
||||
lean_dec(x_3);
|
||||
return x_13;
|
||||
lean_object* x_14;
|
||||
x_14 = l_Lean_Elab_Tactic_evalAlt___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
|
||||
lean_dec(x_4);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
|
|
@ -1366,15 +1373,6 @@ lean_dec(x_2);
|
|||
return x_12;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_evalAlt___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_13;
|
||||
x_13 = l_Lean_Elab_Tactic_evalAlt(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
|
||||
lean_dec(x_2);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_ElimApp_State_argPos___default() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -4476,6 +4474,7 @@ lean_dec(x_8);
|
|||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_14 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_14, 0, x_3);
|
||||
|
|
@ -4500,6 +4499,7 @@ lean_inc(x_7);
|
|||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_1);
|
||||
lean_inc(x_2);
|
||||
x_17 = l_Lean_Elab_Tactic_evalAlt(x_15, x_2, x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
|
|
@ -4526,6 +4526,7 @@ lean_dec(x_8);
|
|||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_21 = !lean_is_exclusive(x_17);
|
||||
if (x_21 == 0)
|
||||
|
|
@ -4638,6 +4639,7 @@ lean_inc(x_31);
|
|||
if (lean_obj_tag(x_31) == 0)
|
||||
{
|
||||
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38;
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_6);
|
||||
x_32 = lean_ctor_get(x_30, 1);
|
||||
|
|
@ -4741,6 +4743,7 @@ else
|
|||
{
|
||||
lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64;
|
||||
lean_dec(x_55);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
x_59 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_59, 0, x_5);
|
||||
|
|
@ -4775,6 +4778,7 @@ lean_dec(x_15);
|
|||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_5);
|
||||
x_65 = !lean_is_exclusive(x_54);
|
||||
|
|
@ -4808,6 +4812,7 @@ lean_dec(x_15);
|
|||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_5);
|
||||
x_69 = !lean_is_exclusive(x_51);
|
||||
|
|
@ -4841,6 +4846,7 @@ lean_dec(x_15);
|
|||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_5);
|
||||
x_73 = !lean_is_exclusive(x_44);
|
||||
|
|
@ -4875,6 +4881,7 @@ lean_dec(x_15);
|
|||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -4909,6 +4916,7 @@ lean_dec(x_15);
|
|||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -5665,6 +5673,8 @@ else
|
|||
{
|
||||
lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; uint8_t x_167;
|
||||
x_163 = lean_ctor_get(x_12, 0);
|
||||
lean_inc(x_163);
|
||||
lean_dec(x_12);
|
||||
x_164 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltVarNames(x_163);
|
||||
x_165 = lean_array_get_size(x_164);
|
||||
x_166 = lean_nat_dec_lt(x_2, x_165);
|
||||
|
|
@ -6295,7 +6305,6 @@ lean_inc(x_11);
|
|||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
x_62 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__5___lambda__2(x_24, x_30, x_4, x_5, x_6, x_2, x_3, x_23, x_25, x_27, x_61, x_37, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_31);
|
||||
lean_dec(x_37);
|
||||
if (lean_obj_tag(x_62) == 0)
|
||||
{
|
||||
lean_object* x_63;
|
||||
|
|
@ -6414,7 +6423,6 @@ lean_inc(x_11);
|
|||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
x_84 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__5___lambda__2(x_24, x_30, x_4, x_5, x_6, x_2, x_3, x_23, x_25, x_27, x_83, x_82, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_31);
|
||||
lean_dec(x_82);
|
||||
if (lean_obj_tag(x_84) == 0)
|
||||
{
|
||||
lean_object* x_85;
|
||||
|
|
@ -6536,7 +6544,6 @@ lean_inc(x_11);
|
|||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
x_105 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__5___lambda__2(x_24, x_30, x_4, x_5, x_6, x_2, x_3, x_23, x_25, x_103, x_104, x_35, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_31);
|
||||
lean_dec(x_35);
|
||||
if (lean_obj_tag(x_105) == 0)
|
||||
{
|
||||
lean_object* x_106;
|
||||
|
|
@ -6657,7 +6664,6 @@ lean_inc(x_11);
|
|||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
x_128 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__5___lambda__2(x_24, x_30, x_4, x_5, x_6, x_2, x_3, x_23, x_25, x_125, x_127, x_126, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_31);
|
||||
lean_dec(x_126);
|
||||
if (lean_obj_tag(x_128) == 0)
|
||||
{
|
||||
lean_object* x_129;
|
||||
|
|
@ -7168,15 +7174,6 @@ lean_dec(x_2);
|
|||
return x_11;
|
||||
}
|
||||
}
|
||||
lean_object* l_List_foldlM___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_14;
|
||||
x_14 = l_List_foldlM___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
|
||||
lean_dec(x_2);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__5___lambda__1___boxed(lean_object** _args) {
|
||||
lean_object* x_1 = _args[0];
|
||||
lean_object* x_2 = _args[1];
|
||||
|
|
@ -7203,7 +7200,6 @@ _start:
|
|||
lean_object* x_21;
|
||||
x_21 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__5___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
return x_21;
|
||||
|
|
@ -7237,7 +7233,6 @@ uint8_t x_22; lean_object* x_23;
|
|||
x_22 = lean_unbox(x_11);
|
||||
lean_dec(x_11);
|
||||
x_23 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__5___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -12533,7 +12528,7 @@ x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabTargets___spec__1(x_13,
|
|||
return x_15;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4152____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4157____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -12543,11 +12538,11 @@ x_3 = lean_name_mk_string(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4152_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4157_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4152____closed__1;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4157____closed__1;
|
||||
x_3 = l_Lean_registerTraceClass(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -13519,9 +13514,9 @@ l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm___lamb
|
|||
lean_mark_persistent(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm___lambda__1___closed__2);
|
||||
l_Lean_Elab_Tactic_elabTargets___boxed__const__1 = _init_l_Lean_Elab_Tactic_elabTargets___boxed__const__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_elabTargets___boxed__const__1);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4152____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4152____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4152____closed__1);
|
||||
res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4152_(lean_io_mk_world());
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4157____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4157____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4157____closed__1);
|
||||
res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4157_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Elab_Tactic_evalCases___lambda__3___boxed__const__1 = _init_l_Lean_Elab_Tactic_evalCases___lambda__3___boxed__const__1();
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Tactic/Match.c
generated
4
stage0/stdlib/Lean/Elab/Tactic/Match.c
generated
|
|
@ -90,7 +90,7 @@ lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lea
|
|||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__3;
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalEraseAuxDiscrs___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_setKind(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*);
|
||||
lean_object* lean_name_append_index_after(lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalEraseAuxDiscrs___closed__1;
|
||||
extern lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__1;
|
||||
lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Elab_Tactic_evalEraseAuxDiscrs___spec__4(lean_object*, lean_object*);
|
||||
|
|
@ -1597,7 +1597,7 @@ x_319 = lean_ctor_get(x_6, 0);
|
|||
lean_inc(x_319);
|
||||
lean_dec(x_6);
|
||||
x_320 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_9329____closed__1;
|
||||
x_321 = l_Lean_Name_appendIndexAfter(x_320, x_319);
|
||||
x_321 = lean_name_append_index_after(x_320, x_319);
|
||||
x_322 = l_Lean_Name_append(x_1, x_321);
|
||||
x_323 = l_Lean_mkIdentFrom(x_30, x_322);
|
||||
lean_dec(x_30);
|
||||
|
|
|
|||
349
stage0/stdlib/Lean/Elab/Tactic/Rewrite.c
generated
349
stage0/stdlib/Lean/Elab/Tactic/Rewrite.c
generated
|
|
@ -18,13 +18,14 @@ size_t l_USize_add(size_t, size_t);
|
|||
lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_expandRewriteTactic___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_rewriteAll___spec__1(lean_object*, uint8_t, uint8_t, lean_object*, size_t, size_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_div(lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewrite(lean_object*);
|
||||
extern lean_object* l_Lean_nullKind;
|
||||
lean_object* l_Lean_Elab_Tactic_rewriteTarget___lambda__1(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_USize_decEq(size_t, size_t);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__1;
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaMAtMain___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_rewriteAll(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_Array_empty___closed__1;
|
||||
|
|
@ -43,10 +44,10 @@ lean_object* l_Lean_Elab_Tactic_rewriteTarget___boxed(lean_object*, lean_object*
|
|||
lean_object* l_Lean_Meta_replaceLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_rewriteTarget(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_replaceTargetEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_rewriteAll___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*);
|
||||
|
|
@ -56,16 +57,17 @@ extern lean_object* l_Lean_Parser_Tactic_erewrite___closed__2;
|
|||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_getMainTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___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* l___regBuiltin_Lean_Elab_Tactic_evalRewrite___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__3;
|
||||
lean_object* l_Lean_Elab_Tactic_rewriteTarget___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*);
|
||||
extern lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_rewrite___closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_evalRewriteCore___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_rewriteLocalDeclFVarId___lambda__1(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_copyHeadTailInfoFrom(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_rewrite(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_reverse___rarg(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -80,28 +82,26 @@ lean_object* l_Lean_Elab_Tactic_expandERewriteTactic(lean_object*, lean_object*,
|
|||
extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewriteCore___spec__1(uint8_t, lean_object*, uint8_t, 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_Lean_LocalDecl_fvarId(lean_object*);
|
||||
lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_expandRewriteTactic___closed__1;
|
||||
lean_object* l_Lean_LocalDecl_type(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*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalRewriteCore(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getSepArgs(lean_object*);
|
||||
extern lean_object* l_Lean_Syntax_mkApp___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_expandERewriteTactic___closed__1;
|
||||
extern lean_object* l_Lean_Elab_macroAttribute;
|
||||
lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_erewrite___closed__3;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_expandERewriteTactic(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___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_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_LocalContext_getFVarIds(lean_object*);
|
||||
lean_object* l_Lean_Meta_getLocalDeclFromUserName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalERewrite___closed__1;
|
||||
uint8_t l_Lean_Syntax_isNone(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_tryTactic___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_rewrite___closed__3;
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalERewrite(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_replaceMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
|
|
@ -115,174 +115,216 @@ lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___lambda__2___boxed(lean_object
|
|||
extern lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_expandRewriteTactic(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___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* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
x_7 = l_Lean_mkAtomFrom(x_6, x_1);
|
||||
x_8 = l_Lean_Syntax_mkAntiquotNode___closed__9;
|
||||
x_9 = lean_array_push(x_8, x_7);
|
||||
x_10 = lean_array_push(x_9, x_2);
|
||||
x_11 = lean_array_push(x_10, x_3);
|
||||
x_12 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_12, 0, x_4);
|
||||
lean_ctor_set(x_12, 1, x_11);
|
||||
x_13 = lean_array_push(x_5, x_12);
|
||||
x_14 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_14, 0, x_13);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_10; uint8_t x_11;
|
||||
x_10 = lean_ctor_get(x_6, 1);
|
||||
x_11 = lean_nat_dec_le(x_10, x_8);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12; uint8_t x_13;
|
||||
x_12 = lean_unsigned_to_nat(0u);
|
||||
x_13 = lean_nat_dec_eq(x_7, x_12);
|
||||
x_12 = lean_ctor_get(x_8, 1);
|
||||
x_13 = lean_nat_dec_le(x_12, x_10);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18;
|
||||
x_14 = lean_unsigned_to_nat(1u);
|
||||
x_15 = lean_nat_sub(x_7, x_14);
|
||||
lean_dec(x_7);
|
||||
x_16 = l_Lean_instInhabitedSyntax;
|
||||
x_17 = lean_array_get(x_16, x_4, x_8);
|
||||
x_18 = lean_nat_dec_eq(x_8, x_12);
|
||||
if (x_18 == 0)
|
||||
lean_object* x_14; uint8_t x_15;
|
||||
x_14 = lean_unsigned_to_nat(0u);
|
||||
x_15 = lean_nat_dec_eq(x_9, x_14);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
lean_inc(x_1);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_17);
|
||||
lean_inc(x_2);
|
||||
x_19 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___spec__1___lambda__1(x_2, x_17, x_5, x_1, x_9, x_17);
|
||||
lean_dec(x_17);
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_20);
|
||||
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; uint8_t x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
x_16 = lean_unsigned_to_nat(1u);
|
||||
x_17 = lean_nat_sub(x_9, x_16);
|
||||
lean_dec(x_9);
|
||||
x_18 = lean_unsigned_to_nat(2u);
|
||||
x_19 = lean_nat_mul(x_10, x_18);
|
||||
x_20 = l_Lean_instInhabitedSyntax;
|
||||
x_21 = lean_array_get(x_20, x_4, x_19);
|
||||
x_22 = lean_nat_add(x_19, x_16);
|
||||
lean_dec(x_19);
|
||||
x_21 = lean_ctor_get(x_6, 2);
|
||||
x_22 = lean_nat_add(x_8, x_21);
|
||||
lean_dec(x_8);
|
||||
x_7 = x_15;
|
||||
x_8 = x_22;
|
||||
x_9 = x_20;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27;
|
||||
lean_inc(x_1);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_2);
|
||||
x_24 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___spec__1___lambda__1(x_2, x_17, x_5, x_1, x_9, x_3);
|
||||
x_25 = lean_ctor_get(x_24, 0);
|
||||
lean_inc(x_25);
|
||||
x_23 = lean_nat_dec_lt(x_22, x_6);
|
||||
x_24 = lean_nat_sub(x_7, x_16);
|
||||
x_25 = lean_nat_dec_eq(x_10, x_24);
|
||||
lean_dec(x_24);
|
||||
x_26 = lean_ctor_get(x_6, 2);
|
||||
x_27 = lean_nat_add(x_8, x_26);
|
||||
lean_dec(x_8);
|
||||
x_7 = x_15;
|
||||
x_8 = x_27;
|
||||
x_9 = x_25;
|
||||
x_26 = l_Lean_Syntax_mkAntiquotNode___closed__9;
|
||||
lean_inc(x_3);
|
||||
x_27 = lean_array_push(x_26, x_3);
|
||||
lean_inc(x_21);
|
||||
x_28 = lean_array_push(x_27, x_21);
|
||||
lean_inc(x_5);
|
||||
x_29 = lean_array_push(x_28, x_5);
|
||||
lean_inc(x_1);
|
||||
x_30 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_30, 0, x_1);
|
||||
lean_ctor_set(x_30, 1, x_29);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
lean_dec(x_22);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40;
|
||||
x_31 = l_Lean_Syntax_mkApp___closed__1;
|
||||
x_32 = lean_array_push(x_31, x_21);
|
||||
x_33 = lean_box(0);
|
||||
x_34 = lean_array_push(x_32, x_33);
|
||||
x_35 = l_Lean_nullKind;
|
||||
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 = l_Lean_Syntax_copyHeadTailInfoFrom(x_30, x_36);
|
||||
lean_dec(x_36);
|
||||
x_38 = lean_array_push(x_11, x_37);
|
||||
x_39 = lean_ctor_get(x_8, 2);
|
||||
x_40 = lean_nat_add(x_10, x_39);
|
||||
lean_dec(x_10);
|
||||
x_9 = x_17;
|
||||
x_10 = x_40;
|
||||
x_11 = x_38;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45;
|
||||
lean_dec(x_21);
|
||||
x_42 = l_Lean_Syntax_copyHeadTailInfoFrom(x_30, x_2);
|
||||
x_43 = lean_array_push(x_11, x_42);
|
||||
x_44 = lean_ctor_get(x_8, 2);
|
||||
x_45 = lean_nat_add(x_10, x_44);
|
||||
lean_dec(x_10);
|
||||
x_9 = x_17;
|
||||
x_10 = x_45;
|
||||
x_11 = x_43;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_9;
|
||||
if (x_25 == 0)
|
||||
{
|
||||
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56;
|
||||
x_47 = lean_array_fget(x_4, x_22);
|
||||
lean_dec(x_22);
|
||||
x_48 = l_Lean_Syntax_mkApp___closed__1;
|
||||
x_49 = lean_array_push(x_48, x_21);
|
||||
x_50 = lean_array_push(x_49, x_47);
|
||||
x_51 = l_Lean_nullKind;
|
||||
x_52 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_52, 0, x_51);
|
||||
lean_ctor_set(x_52, 1, x_50);
|
||||
x_53 = l_Lean_Syntax_copyHeadTailInfoFrom(x_30, x_52);
|
||||
lean_dec(x_52);
|
||||
x_54 = lean_array_push(x_11, x_53);
|
||||
x_55 = lean_ctor_get(x_8, 2);
|
||||
x_56 = lean_nat_add(x_10, x_55);
|
||||
lean_dec(x_10);
|
||||
x_9 = x_17;
|
||||
x_10 = x_56;
|
||||
x_11 = x_54;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61;
|
||||
lean_dec(x_22);
|
||||
lean_dec(x_21);
|
||||
x_58 = l_Lean_Syntax_copyHeadTailInfoFrom(x_30, x_2);
|
||||
x_59 = lean_array_push(x_11, x_58);
|
||||
x_60 = lean_ctor_get(x_8, 2);
|
||||
x_61 = lean_nat_add(x_10, x_60);
|
||||
lean_dec(x_10);
|
||||
x_9 = x_17;
|
||||
x_10 = x_61;
|
||||
x_11 = x_59;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
x_3 = lean_unsigned_to_nat(0u);
|
||||
x_4 = l_Lean_Syntax_getArg(x_2, x_3);
|
||||
x_5 = lean_unsigned_to_nat(1u);
|
||||
x_6 = l_Lean_Syntax_getArg(x_2, x_5);
|
||||
x_7 = l_Lean_Syntax_getArg(x_6, x_5);
|
||||
lean_dec(x_6);
|
||||
x_8 = l_Lean_Syntax_getArgs(x_7);
|
||||
lean_dec(x_7);
|
||||
x_9 = lean_unsigned_to_nat(2u);
|
||||
x_10 = l_Lean_Syntax_getArg(x_2, x_9);
|
||||
x_11 = lean_array_get_size(x_8);
|
||||
x_12 = lean_nat_add(x_11, x_5);
|
||||
x_13 = lean_nat_div(x_12, x_9);
|
||||
lean_dec(x_12);
|
||||
lean_inc(x_13);
|
||||
x_14 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_14, 0, x_3);
|
||||
lean_ctor_set(x_14, 1, x_13);
|
||||
lean_ctor_set(x_14, 2, x_5);
|
||||
x_15 = l_Array_empty___closed__1;
|
||||
lean_inc(x_13);
|
||||
x_16 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___spec__1(x_1, x_2, x_4, x_8, x_10, x_11, x_13, x_14, x_13, x_3, x_15);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_8);
|
||||
x_17 = l_Lean_nullKind;
|
||||
x_18 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_17);
|
||||
lean_ctor_set(x_18, 1, x_16);
|
||||
return x_18;
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___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:
|
||||
{
|
||||
lean_object* x_12;
|
||||
x_12 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand(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;
|
||||
x_4 = lean_unsigned_to_nat(1u);
|
||||
x_5 = l_Lean_Syntax_getArg(x_3, x_4);
|
||||
x_6 = l_Lean_Syntax_getArg(x_5, x_4);
|
||||
lean_dec(x_5);
|
||||
x_7 = l_Lean_Syntax_getSepArgs(x_6);
|
||||
lean_dec(x_6);
|
||||
x_8 = lean_unsigned_to_nat(2u);
|
||||
x_9 = l_Lean_Syntax_getArg(x_3, x_8);
|
||||
x_10 = lean_array_get_size(x_7);
|
||||
x_11 = lean_unsigned_to_nat(0u);
|
||||
lean_inc(x_10);
|
||||
x_12 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_12, 0, x_11);
|
||||
lean_ctor_set(x_12, 1, x_10);
|
||||
lean_ctor_set(x_12, 2, x_4);
|
||||
x_13 = l_Array_empty___closed__1;
|
||||
x_14 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___spec__1(x_1, x_2, x_3, x_7, x_9, x_12, x_10, x_11, x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_7);
|
||||
x_15 = l_Lean_nullKind;
|
||||
x_16 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_14);
|
||||
return x_16;
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___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) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_7;
|
||||
x_7 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6);
|
||||
lean_dec(x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___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) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_10;
|
||||
x_10 = l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
return x_10;
|
||||
lean_dec(x_2);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
return x_4;
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_expandRewriteTactic(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_4; lean_object* x_5; lean_object* x_6;
|
||||
x_4 = l_Lean_Parser_Tactic_rewrite___closed__2;
|
||||
x_5 = l_Lean_Parser_Tactic_rewrite___closed__3;
|
||||
x_6 = l___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand(x_4, x_5, x_1);
|
||||
x_7 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_6);
|
||||
lean_ctor_set(x_7, 1, x_3);
|
||||
return x_7;
|
||||
x_5 = l___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand(x_4, x_1);
|
||||
x_6 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_5);
|
||||
lean_ctor_set(x_6, 1, x_3);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_expandRewriteTactic___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
|
|
@ -317,14 +359,13 @@ return x_5;
|
|||
lean_object* l_Lean_Elab_Tactic_expandERewriteTactic(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_4; lean_object* x_5; lean_object* x_6;
|
||||
x_4 = l_Lean_Parser_Tactic_erewrite___closed__2;
|
||||
x_5 = l_Lean_Parser_Tactic_erewrite___closed__3;
|
||||
x_6 = l___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand(x_4, x_5, x_1);
|
||||
x_7 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_6);
|
||||
lean_ctor_set(x_7, 1, x_3);
|
||||
return x_7;
|
||||
x_5 = l___private_Lean_Elab_Tactic_Rewrite_0__Lean_Elab_Tactic_expand(x_4, x_1);
|
||||
x_6 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_5);
|
||||
lean_ctor_set(x_6, 1, x_3);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_expandERewriteTactic___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Term.c
generated
4
stage0/stdlib/Lean/Elab/Term.c
generated
|
|
@ -668,7 +668,6 @@ lean_object* l_Lean_Elab_Term_mkTermInfo_match__1(lean_object*);
|
|||
lean_object* l_Lean_Elab_Term_TermElabM_run_x27___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___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabCharLit_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageLog_forM___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -912,6 +911,7 @@ lean_object* l_Lean_InternalExceptionId_getName(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_MetavarContext_getDelayedRoot(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_NameSet_empty;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_LVal_getRef(lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__19___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*);
|
||||
|
|
@ -23969,7 +23969,7 @@ uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit(lean_object* x_1
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3;
|
||||
x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_3 = l_Lean_Syntax_isOfKind(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Util.c
generated
4
stage0/stdlib/Lean/Elab/Util.c
generated
|
|
@ -107,7 +107,7 @@ lean_object* l_Lean_Syntax_prettyPrint_match__1(lean_object*);
|
|||
lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__2___boxed(lean_object**);
|
||||
extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__5;
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_36____closed__8;
|
||||
lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*);
|
||||
lean_object* lean_name_append_index_after(lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Elab_getMacros___spec__6___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_instMonadMacroAdapter(lean_object*, lean_object*);
|
||||
|
|
@ -3324,7 +3324,7 @@ _start:
|
|||
lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_1);
|
||||
x_6 = l_Lean_Name_appendIndexAfter(x_1, x_3);
|
||||
x_6 = lean_name_append_index_after(x_1, x_3);
|
||||
lean_inc(x_6);
|
||||
x_7 = l_Lean_Name_append(x_2, x_6);
|
||||
lean_inc(x_4);
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Expr.c
generated
8
stage0/stdlib/Lean/Expr.c
generated
|
|
@ -177,6 +177,7 @@ size_t l_List_foldl___at_Lean_mkConst___spec__1(size_t, lean_object*);
|
|||
lean_object* l_Lean_Expr_bindingName_x21_match__1(lean_object*);
|
||||
lean_object* l_Lean_Expr_getAppArgs___closed__1;
|
||||
uint8_t l_Lean_Level_hasParam(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__26;
|
||||
lean_object* l_Lean_Expr_updateApp_x21(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_mkAppRevRange(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_isHeadBetaTargetFn_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -408,7 +409,6 @@ lean_object* l_Lean_mkFreshFVarId___rarg(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Expr_consumeMData(lean_object*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1354____closed__25;
|
||||
uint64_t l_UInt64_land(uint64_t, uint64_t);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__20;
|
||||
lean_object* l_Lean_Expr_isMData_match__1(lean_object*);
|
||||
lean_object* lean_expr_mk_app(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_constName_x21___closed__2;
|
||||
|
|
@ -427,7 +427,6 @@ size_t lean_usize_of_nat(lean_object*);
|
|||
extern uint64_t l_instInhabitedUInt64___closed__1;
|
||||
lean_object* l_Lean_mkSimpleThunkType(lean_object*);
|
||||
lean_object* l___private_Lean_Expr_0__Lean_Expr_betaRevAux_match__1(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
size_t l_Lean_ExprStructEq_hash(lean_object*);
|
||||
uint8_t l_Lean_Expr_isAutoParam(lean_object*);
|
||||
lean_object* l_Lean_Expr_getAutoParamTactic_x3f___closed__2;
|
||||
|
|
@ -452,6 +451,7 @@ lean_object* l_Lean_Expr_setAppPPExplicit(lean_object*);
|
|||
lean_object* l___private_Lean_Expr_0__Lean_Expr_betaRevAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_ctorName___closed__9;
|
||||
lean_object* l_Lean_Expr_instantiateRevRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__20;
|
||||
lean_object* l_Lean_Expr_hasLooseBVarInExplicitDomain_match__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_instInhabitedBinderInfo;
|
||||
lean_object* l_Lean_Expr_updateLambda_x21___closed__1;
|
||||
|
|
@ -3017,7 +3017,7 @@ return x_12;
|
|||
default:
|
||||
{
|
||||
lean_object* x_13;
|
||||
x_13 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__20;
|
||||
x_13 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__20;
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
|
|
@ -14817,7 +14817,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_getSanitizeNames___closed__2;
|
||||
x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__26;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Hygiene.c
generated
8
stage0/stdlib/Lean/Hygiene.c
generated
|
|
@ -77,7 +77,7 @@ lean_object* l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserName___closed__1
|
|||
lean_object* l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserName___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_appendAfter(lean_object*, lean_object*);
|
||||
lean_object* lean_name_append_after(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Hygiene___hyg_314____closed__3;
|
||||
lean_object* l_Lean_getSanitizeNames___boxed(lean_object*);
|
||||
lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__5;
|
||||
|
|
@ -494,7 +494,7 @@ x_9 = l_Nat_toSuperscriptString(x_3);
|
|||
x_10 = l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserNameAux___closed__3;
|
||||
x_11 = lean_string_append(x_10, x_9);
|
||||
lean_dec(x_9);
|
||||
x_12 = l_Lean_Name_appendAfter(x_2, x_11);
|
||||
x_12 = lean_name_append_after(x_2, x_11);
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
|
|
@ -502,7 +502,7 @@ else
|
|||
lean_object* x_13; lean_object* x_14;
|
||||
lean_dec(x_3);
|
||||
x_13 = l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserNameAux___closed__3;
|
||||
x_14 = l_Lean_Name_appendAfter(x_2, x_13);
|
||||
x_14 = lean_name_append_after(x_2, x_13);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
|
|
@ -653,7 +653,7 @@ x_14 = l_Nat_toSuperscriptString(x_12);
|
|||
x_15 = l___private_Lean_Hygiene_0__Lean_mkInaccessibleUserName___closed__1;
|
||||
x_16 = lean_string_append(x_15, x_14);
|
||||
lean_dec(x_14);
|
||||
x_17 = l_Lean_Name_appendAfter(x_13, x_16);
|
||||
x_17 = lean_name_append_after(x_13, x_16);
|
||||
return x_17;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/LocalContext.c
generated
4
stage0/stdlib/Lean/LocalContext.c
generated
|
|
@ -209,7 +209,7 @@ lean_object* l_Lean_LocalContext_findDeclM_x3f___rarg___lambda__1(lean_object*,
|
|||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_foldl___spec__14___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_anyM___at_Lean_LocalContext_allM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
uint8_t l_Array_anyMUnsafe_any___at_Lean_LocalContext_any___spec__4(lean_object*, lean_object*, size_t, size_t);
|
||||
lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*);
|
||||
lean_object* lean_name_append_index_after(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_LocalContext_findDeclRev_x3f___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_LocalContext_setBinderInfo___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_set___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -4777,7 +4777,7 @@ _start:
|
|||
lean_object* x_4; uint8_t x_5;
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_4 = l_Lean_Name_appendIndexAfter(x_2, x_3);
|
||||
x_4 = lean_name_append_index_after(x_2, x_3);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_1);
|
||||
x_5 = lean_local_ctx_uses_user_name(x_1, x_4);
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Meta/AbstractMVars.c
generated
8
stage0/stdlib/Lean/Meta/AbstractMVars.c
generated
|
|
@ -61,7 +61,7 @@ extern lean_object* l_Lean_Meta_mkArrow___closed__2;
|
|||
lean_object* l_Lean_Meta_instBEqAbstractMVarsResult___closed__1;
|
||||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_mkHashMapImp___rarg(lean_object*);
|
||||
lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*);
|
||||
lean_object* lean_name_append_index_after(lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__1(lean_object*, lean_object*);
|
||||
size_t l_Lean_Name_hash(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_AbstractMVars_0__Lean_Meta_beqAbstractMVarsResult____x40_Lean_Meta_AbstractMVars___hyg_19__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2377,7 +2377,7 @@ lean_dec(x_3);
|
|||
x_34 = lean_array_get_size(x_33);
|
||||
lean_dec(x_33);
|
||||
x_35 = l_Lean_Meta_mkArrow___closed__2;
|
||||
x_36 = l_Lean_Name_appendIndexAfter(x_35, x_34);
|
||||
x_36 = lean_name_append_index_after(x_35, x_34);
|
||||
x_37 = 0;
|
||||
x_38 = lean_local_ctx_mk_local_decl(x_26, x_20, x_36, x_16, x_37);
|
||||
lean_inc(x_22);
|
||||
|
|
@ -2439,7 +2439,7 @@ lean_dec(x_3);
|
|||
x_53 = lean_array_get_size(x_52);
|
||||
lean_dec(x_52);
|
||||
x_54 = l_Lean_Meta_mkArrow___closed__2;
|
||||
x_55 = l_Lean_Name_appendIndexAfter(x_54, x_53);
|
||||
x_55 = lean_name_append_index_after(x_54, x_53);
|
||||
x_56 = 0;
|
||||
x_57 = lean_local_ctx_mk_local_decl(x_41, x_20, x_55, x_16, x_56);
|
||||
lean_inc(x_22);
|
||||
|
|
@ -2536,7 +2536,7 @@ lean_dec(x_3);
|
|||
x_80 = lean_array_get_size(x_79);
|
||||
lean_dec(x_79);
|
||||
x_81 = l_Lean_Meta_mkArrow___closed__2;
|
||||
x_82 = l_Lean_Name_appendIndexAfter(x_81, x_80);
|
||||
x_82 = lean_name_append_index_after(x_81, x_80);
|
||||
x_83 = 0;
|
||||
x_84 = lean_local_ctx_mk_local_decl(x_66, x_60, x_82, x_16, x_83);
|
||||
lean_inc(x_62);
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Meta/AbstractNestedProofs.c
generated
10
stage0/stdlib/Lean/Meta/AbstractNestedProofs.c
generated
|
|
@ -41,6 +41,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_AbstractNestedProofs_visit___
|
|||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_AbstractNestedProofs_visit___spec__4(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_st_ref_take(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_AbstractNestedProofs_visit___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* l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkAuxName___at___private_Lean_Meta_AbstractNestedProofs_0__Lean_Meta_AbstractNestedProofs_mkAuxLemma___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_Expr_withAppAux___at_Lean_Meta_AbstractNestedProofs_isNonTrivialProof___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -69,7 +70,6 @@ lean_object* l_Lean_LocalDecl_index(lean_object*);
|
|||
lean_object* l_Lean_Meta_AbstractNestedProofs_visit___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_AbstractNestedProofs_visit___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_lambdaLetTelescope___at_Lean_Meta_AbstractNestedProofs_visit___spec__6___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_abstractNestedProofs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -94,9 +94,9 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_AbstractNestedProofs_visit_
|
|||
lean_object* l_Lean_Meta_AbstractNestedProofs_visit_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_LocalDecl_setType(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_forallTelescope___at_Lean_Meta_AbstractNestedProofs_visit___spec__7(lean_object*);
|
||||
lean_object* l_Std_HashMapImp_insert___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(lean_object*, lean_object*);
|
||||
lean_object* lean_local_ctx_find(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_AbstractNestedProofs_visit___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1655,7 +1655,7 @@ if (x_28 == 0)
|
|||
lean_object* x_29; lean_object* x_30; lean_object* x_31;
|
||||
x_29 = lean_ctor_get(x_27, 0);
|
||||
x_30 = lean_ctor_get(x_27, 1);
|
||||
x_31 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_29, x_1);
|
||||
x_31 = l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(x_29, x_1);
|
||||
lean_dec(x_29);
|
||||
if (lean_obj_tag(x_31) == 0)
|
||||
{
|
||||
|
|
@ -2129,7 +2129,7 @@ x_118 = lean_ctor_get(x_27, 1);
|
|||
lean_inc(x_118);
|
||||
lean_inc(x_117);
|
||||
lean_dec(x_27);
|
||||
x_119 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_117, x_1);
|
||||
x_119 = l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(x_117, x_1);
|
||||
lean_dec(x_117);
|
||||
if (lean_obj_tag(x_119) == 0)
|
||||
{
|
||||
|
|
@ -2643,7 +2643,7 @@ x_16 = lean_ctor_get(x_14, 1);
|
|||
lean_inc(x_16);
|
||||
lean_dec(x_14);
|
||||
lean_inc(x_10);
|
||||
x_17 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_15, x_1, x_10);
|
||||
x_17 = l_Std_HashMapImp_insert___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__3(x_15, x_1, x_10);
|
||||
x_18 = lean_st_ref_set(x_3, x_17, x_16);
|
||||
lean_dec(x_3);
|
||||
x_19 = !lean_is_exclusive(x_18);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Meta/AppBuilder.c
generated
4
stage0/stdlib/Lean/Meta/AppBuilder.c
generated
|
|
@ -301,7 +301,6 @@ lean_object* l_Lean_mkApp5(lean_object*, lean_object*, lean_object*, lean_object
|
|||
lean_object* l_Lean_Meta_isMonad_x3f___closed__1;
|
||||
lean_object* l_Lean_Meta_mkIdRhs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkAppM___closed__1;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__24;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMFinal___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_setEnv___at_Lean_Meta_orelse___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMFinal___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -320,6 +319,7 @@ lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppOptMAux_match__1
|
|||
lean_object* l_Lean_Meta_mkEqFalse_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMFinal___closed__3;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__24;
|
||||
lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkHEqTrans_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkSyntheticSorry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -11390,7 +11390,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_mkDecIsTrue___closed__2;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__24;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__24;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
|
|||
532
stage0/stdlib/Lean/Meta/Closure.c
generated
532
stage0/stdlib/Lean/Meta/Closure.c
generated
|
|
@ -21,7 +21,6 @@ lean_object* l_Lean_compileDecl___at_Lean_Meta_mkAuxDefinition___spec__4(lean_ob
|
|||
size_t l_USize_add(size_t, size_t);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Closure_process___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkBinding___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_Closure_visitLevel___spec__6(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_pushFVarArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -54,7 +53,6 @@ lean_object* l_Lean_Meta_Closure_State_exprFVarArgs___default;
|
|||
lean_object* l_Lean_Meta_Closure_State_nextLevelIdx___default;
|
||||
lean_object* l_Lean_Meta_Closure_State_nextExprIdx___default;
|
||||
uint8_t l_Lean_Level_hasParam(lean_object*);
|
||||
lean_object* l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_State_levelArgs___default;
|
||||
lean_object* l_Std_AssocList_contains___at_Lean_Meta_Closure_visitLevel___spec__4___boxed(lean_object*, lean_object*);
|
||||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
|
|
@ -71,7 +69,6 @@ uint8_t l_Lean_Environment_hasUnsafe(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_expr_lower_loose_bvars(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_mkHashMap___at_Lean_Meta_Closure_State_visitedExpr___default___spec__1(lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_visitExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_foldlM___at_Lean_Meta_mkAuxDefinition___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_mkNextUserName___rarg___closed__2;
|
||||
|
|
@ -103,17 +100,14 @@ lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
|||
lean_object* l_Std_mkHashMapImp___rarg(lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_pickNextToProcess_x3f_match__1(lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_pickNextToProcess_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*);
|
||||
lean_object* lean_name_append_index_after(lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_State_visitedLevel___default;
|
||||
lean_object* l_Array_back___at_Lean_Meta_Closure_pickNextToProcess_x3f___spec__1(lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_collectExprAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Level_updateSucc_x21___closed__3;
|
||||
lean_object* l_Lean_Meta_Closure_process___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
uint8_t l_Std_AssocList_contains___at_Lean_Meta_Closure_visitExpr___spec__4(lean_object*, lean_object*);
|
||||
size_t l_Lean_Expr_hash(lean_object*);
|
||||
lean_object* lean_expr_abstract_range(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Closure_process___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -121,9 +115,7 @@ extern lean_object* l_Lean_Level_updateMax_x21___closed__3;
|
|||
lean_object* lean_array_to_list(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_preprocess___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_collectExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_Closure_visitExpr___spec__7(lean_object*, lean_object*);
|
||||
extern lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__7;
|
||||
lean_object* l_Std_HashMapImp_expand___at_Lean_Meta_Closure_visitExpr___spec__5(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_mkNextUserName(lean_object*);
|
||||
extern lean_object* l_Lean_instInhabitedExpr;
|
||||
extern lean_object* l_Lean_Expr_updateProj_x21___closed__3;
|
||||
|
|
@ -153,7 +145,6 @@ lean_object* l_Lean_throwError___at_Lean_Meta_mkAuxDefinition___spec__3___boxed(
|
|||
size_t lean_usize_of_nat(lean_object*);
|
||||
lean_object* l_Lean_replaceFVarIdAtLocalDecl(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_mkNewLevelParam___closed__2;
|
||||
lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_pushLocalDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_expr_update_proj(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_preprocess(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -169,16 +160,14 @@ lean_object* lean_level_update_imax(lean_object*, lean_object*, lean_object*);
|
|||
extern lean_object* l_Lean_Level_updateIMax_x21___closed__3;
|
||||
lean_object* l_Lean_LocalDecl_index(lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_process_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Declaration_foldExprM___at_Lean_Meta_mkAuxDefinition___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_mkValueTypeClosureAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_State_toProcess___default;
|
||||
lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_State_visitedExpr___default;
|
||||
lean_object* l_Lean_Meta_Closure_State_visitedLevel___default___closed__1;
|
||||
uint8_t lean_expr_equal(lean_object*, lean_object*);
|
||||
lean_object* lean_expr_update_sort(lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_Closure_visitExpr___spec__6(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_collectLevelAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__2___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -225,7 +214,6 @@ lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*, l
|
|||
lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_pop(lean_object*);
|
||||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
lean_object* l_Std_AssocList_replace___at_Lean_Meta_Closure_visitExpr___spec__8(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwKernelException___at_Lean_Meta_mkAuxDefinition___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_expr_abstract(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_pickNextToProcessAux(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -242,10 +230,9 @@ lean_object* l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__1___
|
|||
lean_object* l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkForall___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_MonadEnv_0__Lean_checkUnsupported___at_Lean_Meta_mkAuxDefinition___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_compile_decl(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_AssocList_contains___at_Lean_Meta_Closure_visitExpr___spec__4___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_collectExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_State_visitedExpr___default___closed__1;
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_collectLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_collectExprAux_match__1(lean_object*);
|
||||
lean_object* l_Lean_mkLevelParam(lean_object*);
|
||||
|
|
@ -319,28 +306,11 @@ x_1 = l_Lean_Meta_Closure_State_visitedLevel___default___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_mkHashMap___at_Lean_Meta_Closure_State_visitedExpr___default___spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_mkHashMapImp___rarg(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Closure_State_visitedExpr___default___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(8u);
|
||||
x_2 = l_Std_mkHashMapImp___rarg(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Closure_State_visitedExpr___default() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Meta_Closure_State_visitedExpr___default___closed__1;
|
||||
x_1 = l_Std_HashMap_instInhabitedHashMap___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -1113,365 +1083,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_Closure_visitExpr_match__1___rarg),
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__2(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_box(0);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_ctor_get(x_2, 1);
|
||||
x_6 = lean_ctor_get(x_2, 2);
|
||||
x_7 = lean_expr_equal(x_4, x_1);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
x_2 = x_6;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_9;
|
||||
lean_inc(x_5);
|
||||
x_9 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_9, 0, x_5);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; size_t x_5; size_t x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_3 = lean_ctor_get(x_1, 1);
|
||||
x_4 = lean_array_get_size(x_3);
|
||||
x_5 = l_Lean_Expr_hash(x_2);
|
||||
x_6 = lean_usize_modn(x_5, x_4);
|
||||
lean_dec(x_4);
|
||||
x_7 = lean_array_uget(x_3, x_6);
|
||||
x_8 = l_Std_AssocList_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__2(x_2, x_7);
|
||||
lean_dec(x_7);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
uint8_t l_Std_AssocList_contains___at_Lean_Meta_Closure_visitExpr___spec__4(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = 0;
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; uint8_t x_6;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_ctor_get(x_2, 2);
|
||||
x_6 = lean_expr_equal(x_4, x_1);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
x_2 = x_5;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_8;
|
||||
x_8 = 1;
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_Closure_visitExpr___spec__7(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = !lean_is_exclusive(x_2);
|
||||
if (x_3 == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_ctor_get(x_2, 2);
|
||||
x_6 = lean_array_get_size(x_1);
|
||||
x_7 = l_Lean_Expr_hash(x_4);
|
||||
x_8 = lean_usize_modn(x_7, x_6);
|
||||
lean_dec(x_6);
|
||||
x_9 = lean_array_uget(x_1, x_8);
|
||||
lean_ctor_set(x_2, 2, x_9);
|
||||
x_10 = lean_array_uset(x_1, x_8, x_2);
|
||||
x_1 = x_10;
|
||||
x_2 = x_5;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_12 = lean_ctor_get(x_2, 0);
|
||||
x_13 = lean_ctor_get(x_2, 1);
|
||||
x_14 = lean_ctor_get(x_2, 2);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_2);
|
||||
x_15 = lean_array_get_size(x_1);
|
||||
x_16 = l_Lean_Expr_hash(x_12);
|
||||
x_17 = lean_usize_modn(x_16, x_15);
|
||||
lean_dec(x_15);
|
||||
x_18 = lean_array_uget(x_1, x_17);
|
||||
x_19 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_19, 0, x_12);
|
||||
lean_ctor_set(x_19, 1, x_13);
|
||||
lean_ctor_set(x_19, 2, x_18);
|
||||
x_20 = lean_array_uset(x_1, x_17, x_19);
|
||||
x_1 = x_20;
|
||||
x_2 = x_14;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_Closure_visitExpr___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
x_4 = lean_array_get_size(x_2);
|
||||
x_5 = lean_nat_dec_lt(x_1, x_4);
|
||||
lean_dec(x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_6 = lean_array_fget(x_2, x_1);
|
||||
x_7 = lean_box(0);
|
||||
x_8 = lean_array_fset(x_2, x_1, x_7);
|
||||
x_9 = l_Std_AssocList_foldlM___at_Lean_Meta_Closure_visitExpr___spec__7(x_3, x_6);
|
||||
x_10 = lean_unsigned_to_nat(1u);
|
||||
x_11 = lean_nat_add(x_1, x_10);
|
||||
lean_dec(x_1);
|
||||
x_1 = x_11;
|
||||
x_2 = x_8;
|
||||
x_3 = x_9;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_HashMapImp_expand___at_Lean_Meta_Closure_visitExpr___spec__5(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_3 = lean_array_get_size(x_2);
|
||||
x_4 = lean_unsigned_to_nat(2u);
|
||||
x_5 = lean_nat_mul(x_3, x_4);
|
||||
lean_dec(x_3);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = lean_mk_array(x_5, x_6);
|
||||
x_8 = lean_unsigned_to_nat(0u);
|
||||
x_9 = l_Std_HashMapImp_moveEntries___at_Lean_Meta_Closure_visitExpr___spec__6(x_8, x_2, x_7);
|
||||
x_10 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_10, 0, x_1);
|
||||
lean_ctor_set(x_10, 1, x_9);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_AssocList_replace___at_Lean_Meta_Closure_visitExpr___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
lean_object* x_4;
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(0);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = !lean_is_exclusive(x_3);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9;
|
||||
x_6 = lean_ctor_get(x_3, 0);
|
||||
x_7 = lean_ctor_get(x_3, 1);
|
||||
x_8 = lean_ctor_get(x_3, 2);
|
||||
x_9 = lean_expr_equal(x_6, x_1);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10;
|
||||
x_10 = l_Std_AssocList_replace___at_Lean_Meta_Closure_visitExpr___spec__8(x_1, x_2, x_8);
|
||||
lean_ctor_set(x_3, 2, x_10);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14;
|
||||
x_11 = lean_ctor_get(x_3, 0);
|
||||
x_12 = lean_ctor_get(x_3, 1);
|
||||
x_13 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_3);
|
||||
x_14 = lean_expr_equal(x_11, x_1);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
x_15 = l_Std_AssocList_replace___at_Lean_Meta_Closure_visitExpr___spec__8(x_1, x_2, x_13);
|
||||
x_16 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_16, 0, x_11);
|
||||
lean_ctor_set(x_16, 1, x_12);
|
||||
lean_ctor_set(x_16, 2, x_15);
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17;
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
x_17 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_17, 0, x_1);
|
||||
lean_ctor_set(x_17, 1, x_2);
|
||||
lean_ctor_set(x_17, 2, x_13);
|
||||
return x_17;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
x_4 = !lean_is_exclusive(x_1);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_5 = lean_ctor_get(x_1, 0);
|
||||
x_6 = lean_ctor_get(x_1, 1);
|
||||
x_7 = lean_array_get_size(x_6);
|
||||
x_8 = l_Lean_Expr_hash(x_2);
|
||||
x_9 = lean_usize_modn(x_8, x_7);
|
||||
x_10 = lean_array_uget(x_6, x_9);
|
||||
x_11 = l_Std_AssocList_contains___at_Lean_Meta_Closure_visitExpr___spec__4(x_2, x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16;
|
||||
x_12 = lean_unsigned_to_nat(1u);
|
||||
x_13 = lean_nat_add(x_5, x_12);
|
||||
lean_dec(x_5);
|
||||
x_14 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_14, 0, x_2);
|
||||
lean_ctor_set(x_14, 1, x_3);
|
||||
lean_ctor_set(x_14, 2, x_10);
|
||||
x_15 = lean_array_uset(x_6, x_9, x_14);
|
||||
x_16 = lean_nat_dec_le(x_13, x_7);
|
||||
lean_dec(x_7);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
lean_object* x_17;
|
||||
lean_free_object(x_1);
|
||||
x_17 = l_Std_HashMapImp_expand___at_Lean_Meta_Closure_visitExpr___spec__5(x_13, x_15);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_ctor_set(x_1, 1, x_15);
|
||||
lean_ctor_set(x_1, 0, x_13);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19;
|
||||
lean_dec(x_7);
|
||||
x_18 = l_Std_AssocList_replace___at_Lean_Meta_Closure_visitExpr___spec__8(x_2, x_3, x_10);
|
||||
x_19 = lean_array_uset(x_6, x_9, x_18);
|
||||
lean_ctor_set(x_1, 1, x_19);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; uint8_t x_26;
|
||||
x_20 = lean_ctor_get(x_1, 0);
|
||||
x_21 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_21);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_1);
|
||||
x_22 = lean_array_get_size(x_21);
|
||||
x_23 = l_Lean_Expr_hash(x_2);
|
||||
x_24 = lean_usize_modn(x_23, x_22);
|
||||
x_25 = lean_array_uget(x_21, x_24);
|
||||
x_26 = l_Std_AssocList_contains___at_Lean_Meta_Closure_visitExpr___spec__4(x_2, x_25);
|
||||
if (x_26 == 0)
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31;
|
||||
x_27 = lean_unsigned_to_nat(1u);
|
||||
x_28 = lean_nat_add(x_20, x_27);
|
||||
lean_dec(x_20);
|
||||
x_29 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_29, 0, x_2);
|
||||
lean_ctor_set(x_29, 1, x_3);
|
||||
lean_ctor_set(x_29, 2, x_25);
|
||||
x_30 = lean_array_uset(x_21, x_24, x_29);
|
||||
x_31 = lean_nat_dec_le(x_28, x_22);
|
||||
lean_dec(x_22);
|
||||
if (x_31 == 0)
|
||||
{
|
||||
lean_object* x_32;
|
||||
x_32 = l_Std_HashMapImp_expand___at_Lean_Meta_Closure_visitExpr___spec__5(x_28, x_30);
|
||||
return x_32;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_33;
|
||||
x_33 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_33, 0, x_28);
|
||||
lean_ctor_set(x_33, 1, x_30);
|
||||
return x_33;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_34; lean_object* x_35; lean_object* x_36;
|
||||
lean_dec(x_22);
|
||||
x_34 = l_Std_AssocList_replace___at_Lean_Meta_Closure_visitExpr___spec__8(x_2, x_3, x_25);
|
||||
x_35 = lean_array_uset(x_21, x_24, x_34);
|
||||
x_36 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_36, 0, x_20);
|
||||
lean_ctor_set(x_36, 1, x_35);
|
||||
return x_36;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Meta_Closure_visitExpr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1559,7 +1170,7 @@ lean_object* x_12; lean_object* x_13;
|
|||
x_12 = lean_ctor_get(x_10, 1);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_10);
|
||||
x_13 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(x_12, x_2);
|
||||
x_13 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_12, x_2);
|
||||
lean_dec(x_12);
|
||||
if (lean_obj_tag(x_13) == 0)
|
||||
{
|
||||
|
|
@ -1593,7 +1204,7 @@ if (x_22 == 0)
|
|||
lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26;
|
||||
x_23 = lean_ctor_get(x_20, 1);
|
||||
lean_inc(x_15);
|
||||
x_24 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_23, x_2, x_15);
|
||||
x_24 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_23, x_2, x_15);
|
||||
lean_ctor_set(x_20, 1, x_24);
|
||||
x_25 = lean_st_ref_set(x_4, x_20, x_21);
|
||||
lean_dec(x_4);
|
||||
|
|
@ -1647,7 +1258,7 @@ lean_inc(x_31);
|
|||
lean_inc(x_30);
|
||||
lean_dec(x_20);
|
||||
lean_inc(x_15);
|
||||
x_42 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_31, x_2, x_15);
|
||||
x_42 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_31, x_2, x_15);
|
||||
x_43 = lean_alloc_ctor(0, 12, 0);
|
||||
lean_ctor_set(x_43, 0, x_30);
|
||||
lean_ctor_set(x_43, 1, x_42);
|
||||
|
|
@ -1731,37 +1342,6 @@ return x_53;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__2___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Std_AssocList_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__2(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_AssocList_contains___at_Lean_Meta_Closure_visitExpr___spec__4___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l_Std_AssocList_contains___at_Lean_Meta_Closure_visitExpr___spec__4(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Closure_mkNewLevelParam___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1798,7 +1378,7 @@ x_14 = lean_ctor_get(x_12, 3);
|
|||
lean_inc(x_14);
|
||||
lean_dec(x_12);
|
||||
x_15 = l_Lean_Meta_Closure_mkNewLevelParam___closed__2;
|
||||
x_16 = l_Lean_Name_appendIndexAfter(x_15, x_14);
|
||||
x_16 = lean_name_append_index_after(x_15, x_14);
|
||||
x_17 = lean_st_ref_get(x_7, x_13);
|
||||
x_18 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_18);
|
||||
|
|
@ -3792,7 +3372,7 @@ x_12 = lean_ctor_get(x_10, 8);
|
|||
lean_inc(x_12);
|
||||
lean_dec(x_10);
|
||||
x_13 = l_Lean_Meta_Closure_mkNextUserName___rarg___closed__2;
|
||||
x_14 = l_Lean_Name_appendIndexAfter(x_13, x_12);
|
||||
x_14 = lean_name_append_index_after(x_13, x_12);
|
||||
x_15 = lean_st_ref_get(x_5, x_11);
|
||||
x_16 = lean_ctor_get(x_15, 1);
|
||||
lean_inc(x_16);
|
||||
|
|
@ -4866,7 +4446,7 @@ lean_object* x_118; lean_object* x_119;
|
|||
x_118 = lean_ctor_get(x_116, 1);
|
||||
lean_inc(x_118);
|
||||
lean_dec(x_116);
|
||||
x_119 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(x_118, x_113);
|
||||
x_119 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_118, x_113);
|
||||
lean_dec(x_118);
|
||||
if (lean_obj_tag(x_119) == 0)
|
||||
{
|
||||
|
|
@ -4900,7 +4480,7 @@ if (x_128 == 0)
|
|||
lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132;
|
||||
x_129 = lean_ctor_get(x_126, 1);
|
||||
lean_inc(x_121);
|
||||
x_130 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_129, x_113, x_121);
|
||||
x_130 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_129, x_113, x_121);
|
||||
lean_ctor_set(x_126, 1, x_130);
|
||||
x_131 = lean_st_ref_set(x_3, x_126, x_127);
|
||||
x_132 = !lean_is_exclusive(x_131);
|
||||
|
|
@ -4953,7 +4533,7 @@ lean_inc(x_137);
|
|||
lean_inc(x_136);
|
||||
lean_dec(x_126);
|
||||
lean_inc(x_121);
|
||||
x_148 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_137, x_113, x_121);
|
||||
x_148 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_137, x_113, x_121);
|
||||
x_149 = lean_alloc_ctor(0, 12, 0);
|
||||
lean_ctor_set(x_149, 0, x_136);
|
||||
lean_ctor_set(x_149, 1, x_148);
|
||||
|
|
@ -5220,7 +4800,7 @@ lean_object* x_202; lean_object* x_203;
|
|||
x_202 = lean_ctor_get(x_200, 1);
|
||||
lean_inc(x_202);
|
||||
lean_dec(x_200);
|
||||
x_203 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(x_202, x_197);
|
||||
x_203 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_202, x_197);
|
||||
lean_dec(x_202);
|
||||
if (lean_obj_tag(x_203) == 0)
|
||||
{
|
||||
|
|
@ -5291,7 +4871,7 @@ if (lean_is_exclusive(x_210)) {
|
|||
x_224 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_205);
|
||||
x_225 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_213, x_197, x_205);
|
||||
x_225 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_213, x_197, x_205);
|
||||
if (lean_is_scalar(x_224)) {
|
||||
x_226 = lean_alloc_ctor(0, 12, 0);
|
||||
} else {
|
||||
|
|
@ -5555,7 +5135,7 @@ lean_object* x_334; lean_object* x_335;
|
|||
x_334 = lean_ctor_get(x_332, 1);
|
||||
lean_inc(x_334);
|
||||
lean_dec(x_332);
|
||||
x_335 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(x_334, x_329);
|
||||
x_335 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_334, x_329);
|
||||
lean_dec(x_334);
|
||||
if (lean_obj_tag(x_335) == 0)
|
||||
{
|
||||
|
|
@ -5591,7 +5171,7 @@ if (x_344 == 0)
|
|||
lean_object* x_345; lean_object* x_346; lean_object* x_347; uint8_t x_348;
|
||||
x_345 = lean_ctor_get(x_342, 1);
|
||||
lean_inc(x_337);
|
||||
x_346 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_345, x_329, x_337);
|
||||
x_346 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_345, x_329, x_337);
|
||||
lean_ctor_set(x_342, 1, x_346);
|
||||
x_347 = lean_st_ref_set(x_3, x_342, x_343);
|
||||
x_348 = !lean_is_exclusive(x_347);
|
||||
|
|
@ -5646,7 +5226,7 @@ lean_inc(x_353);
|
|||
lean_inc(x_352);
|
||||
lean_dec(x_342);
|
||||
lean_inc(x_337);
|
||||
x_364 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_353, x_329, x_337);
|
||||
x_364 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_353, x_329, x_337);
|
||||
x_365 = lean_alloc_ctor(0, 12, 0);
|
||||
lean_ctor_set(x_365, 0, x_352);
|
||||
lean_ctor_set(x_365, 1, x_364);
|
||||
|
|
@ -6046,7 +5626,7 @@ lean_object* x_451; lean_object* x_452;
|
|||
x_451 = lean_ctor_get(x_449, 1);
|
||||
lean_inc(x_451);
|
||||
lean_dec(x_449);
|
||||
x_452 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(x_451, x_446);
|
||||
x_452 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_451, x_446);
|
||||
lean_dec(x_451);
|
||||
if (lean_obj_tag(x_452) == 0)
|
||||
{
|
||||
|
|
@ -6119,7 +5699,7 @@ if (lean_is_exclusive(x_459)) {
|
|||
x_473 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_454);
|
||||
x_474 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_462, x_446, x_454);
|
||||
x_474 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_462, x_446, x_454);
|
||||
if (lean_is_scalar(x_473)) {
|
||||
x_475 = lean_alloc_ctor(0, 12, 0);
|
||||
} else {
|
||||
|
|
@ -6887,7 +6467,7 @@ lean_object* x_596; lean_object* x_597;
|
|||
x_596 = lean_ctor_get(x_594, 1);
|
||||
lean_inc(x_596);
|
||||
lean_dec(x_594);
|
||||
x_597 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(x_596, x_554);
|
||||
x_597 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_596, x_554);
|
||||
lean_dec(x_596);
|
||||
if (lean_obj_tag(x_597) == 0)
|
||||
{
|
||||
|
|
@ -6921,7 +6501,7 @@ if (x_606 == 0)
|
|||
lean_object* x_607; lean_object* x_608; lean_object* x_609; uint8_t x_610;
|
||||
x_607 = lean_ctor_get(x_604, 1);
|
||||
lean_inc(x_599);
|
||||
x_608 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_607, x_554, x_599);
|
||||
x_608 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_607, x_554, x_599);
|
||||
lean_ctor_set(x_604, 1, x_608);
|
||||
x_609 = lean_st_ref_set(x_3, x_604, x_605);
|
||||
x_610 = !lean_is_exclusive(x_609);
|
||||
|
|
@ -6976,7 +6556,7 @@ lean_inc(x_615);
|
|||
lean_inc(x_614);
|
||||
lean_dec(x_604);
|
||||
lean_inc(x_599);
|
||||
x_626 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_615, x_554, x_599);
|
||||
x_626 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_615, x_554, x_599);
|
||||
x_627 = lean_alloc_ctor(0, 12, 0);
|
||||
lean_ctor_set(x_627, 0, x_614);
|
||||
lean_ctor_set(x_627, 1, x_626);
|
||||
|
|
@ -7097,7 +6677,7 @@ lean_object* x_665; lean_object* x_666;
|
|||
x_665 = lean_ctor_get(x_663, 1);
|
||||
lean_inc(x_665);
|
||||
lean_dec(x_663);
|
||||
x_666 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(x_665, x_553);
|
||||
x_666 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_665, x_553);
|
||||
lean_dec(x_665);
|
||||
if (lean_obj_tag(x_666) == 0)
|
||||
{
|
||||
|
|
@ -7132,7 +6712,7 @@ if (x_675 == 0)
|
|||
lean_object* x_676; lean_object* x_677; lean_object* x_678; uint8_t x_679;
|
||||
x_676 = lean_ctor_get(x_673, 1);
|
||||
lean_inc(x_668);
|
||||
x_677 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_676, x_553, x_668);
|
||||
x_677 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_676, x_553, x_668);
|
||||
lean_ctor_set(x_673, 1, x_677);
|
||||
x_678 = lean_st_ref_set(x_3, x_673, x_674);
|
||||
x_679 = !lean_is_exclusive(x_678);
|
||||
|
|
@ -7187,7 +6767,7 @@ lean_inc(x_684);
|
|||
lean_inc(x_683);
|
||||
lean_dec(x_673);
|
||||
lean_inc(x_668);
|
||||
x_695 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_684, x_553, x_668);
|
||||
x_695 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_684, x_553, x_668);
|
||||
x_696 = lean_alloc_ctor(0, 12, 0);
|
||||
lean_ctor_set(x_696, 0, x_683);
|
||||
lean_ctor_set(x_696, 1, x_695);
|
||||
|
|
@ -7585,7 +7165,7 @@ lean_object* x_776; lean_object* x_777;
|
|||
x_776 = lean_ctor_get(x_774, 1);
|
||||
lean_inc(x_776);
|
||||
lean_dec(x_774);
|
||||
x_777 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(x_776, x_728);
|
||||
x_777 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_776, x_728);
|
||||
lean_dec(x_776);
|
||||
if (lean_obj_tag(x_777) == 0)
|
||||
{
|
||||
|
|
@ -7619,7 +7199,7 @@ if (x_786 == 0)
|
|||
lean_object* x_787; lean_object* x_788; lean_object* x_789; uint8_t x_790;
|
||||
x_787 = lean_ctor_get(x_784, 1);
|
||||
lean_inc(x_779);
|
||||
x_788 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_787, x_728, x_779);
|
||||
x_788 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_787, x_728, x_779);
|
||||
lean_ctor_set(x_784, 1, x_788);
|
||||
x_789 = lean_st_ref_set(x_3, x_784, x_785);
|
||||
x_790 = !lean_is_exclusive(x_789);
|
||||
|
|
@ -7674,7 +7254,7 @@ lean_inc(x_795);
|
|||
lean_inc(x_794);
|
||||
lean_dec(x_784);
|
||||
lean_inc(x_779);
|
||||
x_806 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_795, x_728, x_779);
|
||||
x_806 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_795, x_728, x_779);
|
||||
x_807 = lean_alloc_ctor(0, 12, 0);
|
||||
lean_ctor_set(x_807, 0, x_794);
|
||||
lean_ctor_set(x_807, 1, x_806);
|
||||
|
|
@ -7795,7 +7375,7 @@ lean_object* x_845; lean_object* x_846;
|
|||
x_845 = lean_ctor_get(x_843, 1);
|
||||
lean_inc(x_845);
|
||||
lean_dec(x_843);
|
||||
x_846 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(x_845, x_727);
|
||||
x_846 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_845, x_727);
|
||||
lean_dec(x_845);
|
||||
if (lean_obj_tag(x_846) == 0)
|
||||
{
|
||||
|
|
@ -7830,7 +7410,7 @@ if (x_855 == 0)
|
|||
lean_object* x_856; lean_object* x_857; lean_object* x_858; uint8_t x_859;
|
||||
x_856 = lean_ctor_get(x_853, 1);
|
||||
lean_inc(x_848);
|
||||
x_857 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_856, x_727, x_848);
|
||||
x_857 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_856, x_727, x_848);
|
||||
lean_ctor_set(x_853, 1, x_857);
|
||||
x_858 = lean_st_ref_set(x_3, x_853, x_854);
|
||||
x_859 = !lean_is_exclusive(x_858);
|
||||
|
|
@ -7885,7 +7465,7 @@ lean_inc(x_864);
|
|||
lean_inc(x_863);
|
||||
lean_dec(x_853);
|
||||
lean_inc(x_848);
|
||||
x_875 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_864, x_727, x_848);
|
||||
x_875 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_864, x_727, x_848);
|
||||
x_876 = lean_alloc_ctor(0, 12, 0);
|
||||
lean_ctor_set(x_876, 0, x_863);
|
||||
lean_ctor_set(x_876, 1, x_875);
|
||||
|
|
@ -8283,7 +7863,7 @@ lean_object* x_956; lean_object* x_957;
|
|||
x_956 = lean_ctor_get(x_954, 1);
|
||||
lean_inc(x_956);
|
||||
lean_dec(x_954);
|
||||
x_957 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(x_956, x_908);
|
||||
x_957 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_956, x_908);
|
||||
lean_dec(x_956);
|
||||
if (lean_obj_tag(x_957) == 0)
|
||||
{
|
||||
|
|
@ -8317,7 +7897,7 @@ if (x_966 == 0)
|
|||
lean_object* x_967; lean_object* x_968; lean_object* x_969; uint8_t x_970;
|
||||
x_967 = lean_ctor_get(x_964, 1);
|
||||
lean_inc(x_959);
|
||||
x_968 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_967, x_908, x_959);
|
||||
x_968 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_967, x_908, x_959);
|
||||
lean_ctor_set(x_964, 1, x_968);
|
||||
x_969 = lean_st_ref_set(x_3, x_964, x_965);
|
||||
x_970 = !lean_is_exclusive(x_969);
|
||||
|
|
@ -8372,7 +7952,7 @@ lean_inc(x_975);
|
|||
lean_inc(x_974);
|
||||
lean_dec(x_964);
|
||||
lean_inc(x_959);
|
||||
x_986 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_975, x_908, x_959);
|
||||
x_986 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_975, x_908, x_959);
|
||||
x_987 = lean_alloc_ctor(0, 12, 0);
|
||||
lean_ctor_set(x_987, 0, x_974);
|
||||
lean_ctor_set(x_987, 1, x_986);
|
||||
|
|
@ -8493,7 +8073,7 @@ lean_object* x_1025; lean_object* x_1026;
|
|||
x_1025 = lean_ctor_get(x_1023, 1);
|
||||
lean_inc(x_1025);
|
||||
lean_dec(x_1023);
|
||||
x_1026 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(x_1025, x_907);
|
||||
x_1026 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_1025, x_907);
|
||||
lean_dec(x_1025);
|
||||
if (lean_obj_tag(x_1026) == 0)
|
||||
{
|
||||
|
|
@ -8528,7 +8108,7 @@ if (x_1035 == 0)
|
|||
lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; uint8_t x_1039;
|
||||
x_1036 = lean_ctor_get(x_1033, 1);
|
||||
lean_inc(x_1028);
|
||||
x_1037 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_1036, x_907, x_1028);
|
||||
x_1037 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_1036, x_907, x_1028);
|
||||
lean_ctor_set(x_1033, 1, x_1037);
|
||||
x_1038 = lean_st_ref_set(x_3, x_1033, x_1034);
|
||||
x_1039 = !lean_is_exclusive(x_1038);
|
||||
|
|
@ -8583,7 +8163,7 @@ lean_inc(x_1044);
|
|||
lean_inc(x_1043);
|
||||
lean_dec(x_1033);
|
||||
lean_inc(x_1028);
|
||||
x_1055 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_1044, x_907, x_1028);
|
||||
x_1055 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_1044, x_907, x_1028);
|
||||
x_1056 = lean_alloc_ctor(0, 12, 0);
|
||||
lean_ctor_set(x_1056, 0, x_1043);
|
||||
lean_ctor_set(x_1056, 1, x_1055);
|
||||
|
|
@ -9083,7 +8663,7 @@ lean_object* x_1139; lean_object* x_1140;
|
|||
x_1139 = lean_ctor_get(x_1137, 1);
|
||||
lean_inc(x_1139);
|
||||
lean_dec(x_1137);
|
||||
x_1140 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(x_1139, x_1089);
|
||||
x_1140 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_1139, x_1089);
|
||||
lean_dec(x_1139);
|
||||
if (lean_obj_tag(x_1140) == 0)
|
||||
{
|
||||
|
|
@ -9117,7 +8697,7 @@ if (x_1149 == 0)
|
|||
lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; uint8_t x_1153;
|
||||
x_1150 = lean_ctor_get(x_1147, 1);
|
||||
lean_inc(x_1142);
|
||||
x_1151 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_1150, x_1089, x_1142);
|
||||
x_1151 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_1150, x_1089, x_1142);
|
||||
lean_ctor_set(x_1147, 1, x_1151);
|
||||
x_1152 = lean_st_ref_set(x_3, x_1147, x_1148);
|
||||
x_1153 = !lean_is_exclusive(x_1152);
|
||||
|
|
@ -9172,7 +8752,7 @@ lean_inc(x_1158);
|
|||
lean_inc(x_1157);
|
||||
lean_dec(x_1147);
|
||||
lean_inc(x_1142);
|
||||
x_1169 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_1158, x_1089, x_1142);
|
||||
x_1169 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_1158, x_1089, x_1142);
|
||||
x_1170 = lean_alloc_ctor(0, 12, 0);
|
||||
lean_ctor_set(x_1170, 0, x_1157);
|
||||
lean_ctor_set(x_1170, 1, x_1169);
|
||||
|
|
@ -9295,7 +8875,7 @@ lean_object* x_1208; lean_object* x_1209;
|
|||
x_1208 = lean_ctor_get(x_1206, 1);
|
||||
lean_inc(x_1208);
|
||||
lean_dec(x_1206);
|
||||
x_1209 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(x_1208, x_1088);
|
||||
x_1209 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_1208, x_1088);
|
||||
lean_dec(x_1208);
|
||||
if (lean_obj_tag(x_1209) == 0)
|
||||
{
|
||||
|
|
@ -9330,7 +8910,7 @@ if (x_1218 == 0)
|
|||
lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; uint8_t x_1222;
|
||||
x_1219 = lean_ctor_get(x_1216, 1);
|
||||
lean_inc(x_1211);
|
||||
x_1220 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_1219, x_1088, x_1211);
|
||||
x_1220 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_1219, x_1088, x_1211);
|
||||
lean_ctor_set(x_1216, 1, x_1220);
|
||||
x_1221 = lean_st_ref_set(x_3, x_1216, x_1217);
|
||||
x_1222 = !lean_is_exclusive(x_1221);
|
||||
|
|
@ -9385,7 +8965,7 @@ lean_inc(x_1227);
|
|||
lean_inc(x_1226);
|
||||
lean_dec(x_1216);
|
||||
lean_inc(x_1211);
|
||||
x_1238 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_1227, x_1088, x_1211);
|
||||
x_1238 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_1227, x_1088, x_1211);
|
||||
x_1239 = lean_alloc_ctor(0, 12, 0);
|
||||
lean_ctor_set(x_1239, 0, x_1226);
|
||||
lean_ctor_set(x_1239, 1, x_1238);
|
||||
|
|
@ -9498,7 +9078,7 @@ lean_object* x_1277; lean_object* x_1278;
|
|||
x_1277 = lean_ctor_get(x_1275, 1);
|
||||
lean_inc(x_1277);
|
||||
lean_dec(x_1275);
|
||||
x_1278 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(x_1277, x_1087);
|
||||
x_1278 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_1277, x_1087);
|
||||
lean_dec(x_1277);
|
||||
if (lean_obj_tag(x_1278) == 0)
|
||||
{
|
||||
|
|
@ -9533,7 +9113,7 @@ if (x_1287 == 0)
|
|||
lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; uint8_t x_1291;
|
||||
x_1288 = lean_ctor_get(x_1285, 1);
|
||||
lean_inc(x_1280);
|
||||
x_1289 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_1288, x_1087, x_1280);
|
||||
x_1289 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_1288, x_1087, x_1280);
|
||||
lean_ctor_set(x_1285, 1, x_1289);
|
||||
x_1290 = lean_st_ref_set(x_3, x_1285, x_1286);
|
||||
x_1291 = !lean_is_exclusive(x_1290);
|
||||
|
|
@ -9588,7 +9168,7 @@ lean_inc(x_1296);
|
|||
lean_inc(x_1295);
|
||||
lean_dec(x_1285);
|
||||
lean_inc(x_1280);
|
||||
x_1307 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_1296, x_1087, x_1280);
|
||||
x_1307 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_1296, x_1087, x_1280);
|
||||
x_1308 = lean_alloc_ctor(0, 12, 0);
|
||||
lean_ctor_set(x_1308, 0, x_1295);
|
||||
lean_ctor_set(x_1308, 1, x_1307);
|
||||
|
|
@ -9751,7 +9331,7 @@ lean_object* x_1342; lean_object* x_1343;
|
|||
x_1342 = lean_ctor_get(x_1340, 1);
|
||||
lean_inc(x_1342);
|
||||
lean_dec(x_1340);
|
||||
x_1343 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(x_1342, x_1339);
|
||||
x_1343 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_1342, x_1339);
|
||||
lean_dec(x_1342);
|
||||
if (lean_obj_tag(x_1343) == 0)
|
||||
{
|
||||
|
|
@ -9784,7 +9364,7 @@ if (x_1352 == 0)
|
|||
lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; uint8_t x_1356;
|
||||
x_1353 = lean_ctor_get(x_1350, 1);
|
||||
lean_inc(x_1345);
|
||||
x_1354 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_1353, x_1339, x_1345);
|
||||
x_1354 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_1353, x_1339, x_1345);
|
||||
lean_ctor_set(x_1350, 1, x_1354);
|
||||
x_1355 = lean_st_ref_set(x_3, x_1350, x_1351);
|
||||
x_1356 = !lean_is_exclusive(x_1355);
|
||||
|
|
@ -9839,7 +9419,7 @@ lean_inc(x_1361);
|
|||
lean_inc(x_1360);
|
||||
lean_dec(x_1350);
|
||||
lean_inc(x_1345);
|
||||
x_1372 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_1361, x_1339, x_1345);
|
||||
x_1372 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_1361, x_1339, x_1345);
|
||||
x_1373 = lean_alloc_ctor(0, 12, 0);
|
||||
lean_ctor_set(x_1373, 0, x_1360);
|
||||
lean_ctor_set(x_1373, 1, x_1372);
|
||||
|
|
@ -10007,7 +9587,7 @@ lean_object* x_1407; lean_object* x_1408;
|
|||
x_1407 = lean_ctor_get(x_1405, 1);
|
||||
lean_inc(x_1407);
|
||||
lean_dec(x_1405);
|
||||
x_1408 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(x_1407, x_1404);
|
||||
x_1408 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_1407, x_1404);
|
||||
lean_dec(x_1407);
|
||||
if (lean_obj_tag(x_1408) == 0)
|
||||
{
|
||||
|
|
@ -10040,7 +9620,7 @@ if (x_1417 == 0)
|
|||
lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; uint8_t x_1421;
|
||||
x_1418 = lean_ctor_get(x_1415, 1);
|
||||
lean_inc(x_1410);
|
||||
x_1419 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_1418, x_1404, x_1410);
|
||||
x_1419 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_1418, x_1404, x_1410);
|
||||
lean_ctor_set(x_1415, 1, x_1419);
|
||||
x_1420 = lean_st_ref_set(x_3, x_1415, x_1416);
|
||||
x_1421 = !lean_is_exclusive(x_1420);
|
||||
|
|
@ -10095,7 +9675,7 @@ lean_inc(x_1426);
|
|||
lean_inc(x_1425);
|
||||
lean_dec(x_1415);
|
||||
lean_inc(x_1410);
|
||||
x_1437 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_1426, x_1404, x_1410);
|
||||
x_1437 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_1426, x_1404, x_1410);
|
||||
x_1438 = lean_alloc_ctor(0, 12, 0);
|
||||
lean_ctor_set(x_1438, 0, x_1425);
|
||||
lean_ctor_set(x_1438, 1, x_1437);
|
||||
|
|
@ -10612,7 +10192,7 @@ lean_object* x_15; lean_object* x_16;
|
|||
x_15 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_13);
|
||||
x_16 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__1(x_15, x_10);
|
||||
x_16 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_15, x_10);
|
||||
lean_dec(x_15);
|
||||
if (lean_obj_tag(x_16) == 0)
|
||||
{
|
||||
|
|
@ -10646,7 +10226,7 @@ if (x_25 == 0)
|
|||
lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29;
|
||||
x_26 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_18);
|
||||
x_27 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_26, x_10, x_18);
|
||||
x_27 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_26, x_10, x_18);
|
||||
lean_ctor_set(x_23, 1, x_27);
|
||||
x_28 = lean_st_ref_set(x_3, x_23, x_24);
|
||||
x_29 = !lean_is_exclusive(x_28);
|
||||
|
|
@ -10699,7 +10279,7 @@ lean_inc(x_34);
|
|||
lean_inc(x_33);
|
||||
lean_dec(x_23);
|
||||
lean_inc(x_18);
|
||||
x_45 = l_Std_HashMapImp_insert___at_Lean_Meta_Closure_visitExpr___spec__3(x_34, x_10, x_18);
|
||||
x_45 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_34, x_10, x_18);
|
||||
x_46 = lean_alloc_ctor(0, 12, 0);
|
||||
lean_ctor_set(x_46, 0, x_33);
|
||||
lean_ctor_set(x_46, 1, x_45);
|
||||
|
|
@ -15502,8 +15082,6 @@ l_Lean_Meta_Closure_State_visitedLevel___default___closed__1 = _init_l_Lean_Meta
|
|||
lean_mark_persistent(l_Lean_Meta_Closure_State_visitedLevel___default___closed__1);
|
||||
l_Lean_Meta_Closure_State_visitedLevel___default = _init_l_Lean_Meta_Closure_State_visitedLevel___default();
|
||||
lean_mark_persistent(l_Lean_Meta_Closure_State_visitedLevel___default);
|
||||
l_Lean_Meta_Closure_State_visitedExpr___default___closed__1 = _init_l_Lean_Meta_Closure_State_visitedExpr___default___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Closure_State_visitedExpr___default___closed__1);
|
||||
l_Lean_Meta_Closure_State_visitedExpr___default = _init_l_Lean_Meta_Closure_State_visitedExpr___default();
|
||||
lean_mark_persistent(l_Lean_Meta_Closure_State_visitedExpr___default);
|
||||
l_Lean_Meta_Closure_State_levelParams___default = _init_l_Lean_Meta_Closure_State_levelParams___default();
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/Meta/Coe.c
generated
12
stage0/stdlib/Lean/Meta/Coe.c
generated
|
|
@ -36,6 +36,7 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
|||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
lean_object* lean_expr_update_mdata(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isCoeDecl___closed__25;
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__12(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_expandCoe___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
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*);
|
||||
|
|
@ -69,6 +70,7 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Meta_isCoeDecl___closed__27;
|
||||
lean_object* l_Lean_Meta_isCoeDecl___closed__4;
|
||||
lean_object* l_ReaderT_bind___at_Lean_Meta_expandCoe___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_expandCoe___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isCoeDecl___closed__26;
|
||||
|
|
@ -90,7 +92,6 @@ lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_expandCoe___spe
|
|||
lean_object* l_Lean_Meta_isCoeDecl___closed__23;
|
||||
lean_object* l_Lean_Meta_isCoeDecl___closed__41;
|
||||
lean_object* l_Lean_Meta_isCoeDecl___closed__24;
|
||||
lean_object* l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_isConst(lean_object*);
|
||||
lean_object* l_Lean_Meta_isCoeDecl___closed__20;
|
||||
lean_object* l_Lean_Meta_isCoeDecl___closed__10;
|
||||
|
|
@ -137,7 +138,6 @@ lean_object* l_Lean_Meta_isCoeDecl___closed__6;
|
|||
lean_object* l_Lean_Expr_getAppFn(lean_object*);
|
||||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_expandCoe___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_expandCoe___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_expandCoe___spec__13___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2739,7 +2739,7 @@ if (x_14 == 0)
|
|||
lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_15 = lean_ctor_get(x_13, 0);
|
||||
x_16 = lean_ctor_get(x_13, 1);
|
||||
x_17 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_15, x_5);
|
||||
x_17 = l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(x_15, x_5);
|
||||
lean_dec(x_15);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
|
|
@ -2774,7 +2774,7 @@ x_24 = lean_ctor_get(x_22, 1);
|
|||
lean_inc(x_24);
|
||||
lean_dec(x_22);
|
||||
lean_inc(x_23);
|
||||
x_25 = lean_alloc_closure((void*)(l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__2), 3, 2);
|
||||
x_25 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__12), 3, 2);
|
||||
lean_closure_set(x_25, 0, x_5);
|
||||
lean_closure_set(x_25, 1, x_23);
|
||||
x_26 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2);
|
||||
|
|
@ -2887,7 +2887,7 @@ x_42 = lean_ctor_get(x_13, 1);
|
|||
lean_inc(x_42);
|
||||
lean_inc(x_41);
|
||||
lean_dec(x_13);
|
||||
x_43 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_41, x_5);
|
||||
x_43 = l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(x_41, x_5);
|
||||
lean_dec(x_41);
|
||||
if (lean_obj_tag(x_43) == 0)
|
||||
{
|
||||
|
|
@ -2921,7 +2921,7 @@ x_50 = lean_ctor_get(x_48, 1);
|
|||
lean_inc(x_50);
|
||||
lean_dec(x_48);
|
||||
lean_inc(x_49);
|
||||
x_51 = lean_alloc_closure((void*)(l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__2), 3, 2);
|
||||
x_51 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__12), 3, 2);
|
||||
lean_closure_set(x_51, 0, x_5);
|
||||
lean_closure_set(x_51, 1, x_49);
|
||||
x_52 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2);
|
||||
|
|
|
|||
437
stage0/stdlib/Lean/Meta/ExprDefEq.c
generated
437
stage0/stdlib/Lean/Meta/ExprDefEq.c
generated
|
|
@ -76,7 +76,6 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___pri
|
|||
lean_object* lean_expr_update_mdata(lean_object*, lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Std_HashSetImp_contains___at_Lean_NameHashSet_contains___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_moveEntries___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__4(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__12;
|
||||
extern lean_object* l_Lean_Meta_isExprDefEq___closed__2;
|
||||
|
|
@ -241,7 +240,6 @@ lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__L
|
|||
lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isDefEqBindingDomain_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_insert___at_Lean_Meta_ForEachExpr_visit___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_AssocList_replace___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__6(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__29___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_trySynthPending(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_checkAssignment___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -271,7 +269,6 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft(lean_objec
|
|||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_simpAssignmentArgAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeps___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_AssocList_contains___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2661____closed__2;
|
||||
extern lean_object* l_Lean_Meta_isTypeCorrect___closed__1;
|
||||
extern lean_object* l_Lean_Meta_toCtorIfLit___closed__3;
|
||||
|
|
@ -288,7 +285,6 @@ uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__
|
|||
lean_object* l_Lean_Meta_CheckAssignment_checkMVar___closed__4;
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isDefEqNative_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6;
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1;
|
||||
|
|
@ -310,17 +306,14 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar_
|
|||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_isProjectionFn___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldNonProjFnDefEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_mkHashMapImp___rarg(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel_match__1(lean_object*);
|
||||
lean_object* l_Lean_Meta_throwIsDefEqStuck___rarg(lean_object*);
|
||||
lean_object* l_ReaderT_instMonadFunctorReaderT___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_CheckAssignment_checkMVar___closed__6;
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isListLevelDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Std_AssocList_contains___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_CheckAssignment_run___closed__2;
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom_visit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___closed__2;
|
||||
lean_object* l_Std_mkHashMap___at_Lean_Meta_CheckAssignment_State_cache___default___spec__1(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween_match__1(lean_object*);
|
||||
lean_object* l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -342,10 +335,8 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApp
|
|||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_911____closed__1;
|
||||
lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_checkMVar___spec__38(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_CheckAssignment_run___closed__1;
|
||||
lean_object* l_Lean_Meta_CheckAssignment_State_cache___default___closed__1;
|
||||
uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__43(lean_object*, lean_object*, size_t, size_t);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldReducibeDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t l_Lean_Expr_hash(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__3;
|
||||
lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__54(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_CheckAssignment_checkMVar___closed__3;
|
||||
|
|
@ -382,7 +373,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar_
|
|||
lean_object* l_Lean_Meta_CheckAssignment_checkMVar___closed__5;
|
||||
extern lean_object* l_Lean_Expr_updateProj_x21___closed__3;
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_simpAssignmentArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_modn(size_t, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__40___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_CheckAssignment_checkApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__9(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -461,7 +451,6 @@ uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkFVar___spec__
|
|||
lean_object* l_Std_PersistentArray_foldlM___at_Lean_Meta_CheckAssignment_checkMVar___spec__45___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs___spec__1___lambda__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta___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* l_Std_HashMapImp_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__50(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkFreshExprMVarAt(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -486,6 +475,7 @@ lean_object* l_Lean_LocalDecl_index(lean_object*);
|
|||
uint8_t l_Lean_MetavarKind_isSyntheticOpaque(uint8_t);
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_checkFVar___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__3;
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -503,7 +493,6 @@ lean_object* l_Lean_Meta_CheckAssignment_checkMVar___closed__7;
|
|||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDeltaCandidate_x3f_match__1(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__4;
|
||||
uint8_t l_Lean_Expr_isMVar(lean_object*);
|
||||
uint8_t lean_expr_equal(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instMonadTrace___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDeltaCandidate_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
|
|
@ -561,7 +550,6 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___cl
|
|||
lean_object* l_Lean_Meta_whenUndefDo_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldBothDefEq_match__1(lean_object*);
|
||||
lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__33___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeps___spec__1(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__11;
|
||||
|
|
@ -581,7 +569,6 @@ lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMe
|
|||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isAssigned_match__1(lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_9521_(lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_9530_(lean_object*);
|
||||
lean_object* l_Std_HashMapImp_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg___closed__1;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -589,7 +576,6 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar(lean_objec
|
|||
lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_throwUnknownMVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__59(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f___spec__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Meta_TransparencyMode_lt(uint8_t, uint8_t);
|
||||
lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -627,7 +613,6 @@ uint8_t l_Lean_MapDeclarationExtension_contains___at_Lean_Environment_isProjecti
|
|||
lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isDefEqNative_match__1(lean_object*);
|
||||
uint8_t l_Array_contains___at_Lean_Meta_CheckAssignment_checkFVar___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_expand___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__3(lean_object*, lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs___spec__1(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* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Expr_updateLet_x21___closed__2;
|
||||
|
|
@ -654,6 +639,7 @@ lean_object* l_Lean_addTrace___at_Lean_Meta_CheckAssignment_checkFVar___spec__4_
|
|||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__1___closed__2;
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeftRight___closed__2;
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(lean_object*, lean_object*);
|
||||
lean_object* lean_local_ctx_find(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_consumeLet_match__1(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBindingAux_match__1(lean_object*);
|
||||
|
|
@ -663,7 +649,6 @@ lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___s
|
|||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs_match__1(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApproxAux_match__1(lean_object*);
|
||||
lean_object* l_Std_AssocList_foldlM___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__5(lean_object*, lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_visit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -728,7 +713,6 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProj_match__1(l
|
|||
extern lean_object* l_Std_PersistentArray_getAux___rarg___closed__1;
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_addLetDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f___spec__2(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeftRight___closed__1;
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
|
|
@ -11923,28 +11907,11 @@ x_3 = l_Lean_registerInternalExceptionId(x_2, x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_mkHashMap___at_Lean_Meta_CheckAssignment_State_cache___default___spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_mkHashMapImp___rarg(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_CheckAssignment_State_cache___default___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(8u);
|
||||
x_2 = l_Std_mkHashMapImp___rarg(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_CheckAssignment_State_cache___default() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Meta_CheckAssignment_State_cache___default___closed__1;
|
||||
x_1 = l_Std_HashMap_instInhabitedHashMap___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -12038,53 +12005,6 @@ lean_dec(x_2);
|
|||
return x_8;
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f___spec__2(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_box(0);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_ctor_get(x_2, 1);
|
||||
x_6 = lean_ctor_get(x_2, 2);
|
||||
x_7 = lean_expr_equal(x_4, x_1);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
x_2 = x_6;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_9;
|
||||
lean_inc(x_5);
|
||||
x_9 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_9, 0, x_5);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; size_t x_5; size_t x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_3 = lean_ctor_get(x_1, 1);
|
||||
x_4 = lean_array_get_size(x_3);
|
||||
x_5 = l_Lean_Expr_hash(x_2);
|
||||
x_6 = lean_usize_modn(x_5, x_4);
|
||||
lean_dec(x_4);
|
||||
x_7 = lean_array_uget(x_3, x_6);
|
||||
x_8 = l_Std_AssocList_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f___spec__2(x_2, x_7);
|
||||
lean_dec(x_7);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f(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:
|
||||
{
|
||||
|
|
@ -12099,7 +12019,7 @@ if (x_12 == 0)
|
|||
{
|
||||
lean_object* x_13; lean_object* x_14;
|
||||
x_13 = lean_ctor_get(x_11, 0);
|
||||
x_14 = l_Std_HashMapImp_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f___spec__1(x_13, x_1);
|
||||
x_14 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_13, x_1);
|
||||
lean_dec(x_13);
|
||||
lean_ctor_set(x_11, 0, x_14);
|
||||
return x_11;
|
||||
|
|
@ -12112,7 +12032,7 @@ x_16 = lean_ctor_get(x_11, 1);
|
|||
lean_inc(x_16);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_11);
|
||||
x_17 = l_Std_HashMapImp_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f___spec__1(x_15, x_1);
|
||||
x_17 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_15, x_1);
|
||||
lean_dec(x_15);
|
||||
x_18 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_17);
|
||||
|
|
@ -12121,26 +12041,6 @@ return x_18;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f___spec__2___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Std_AssocList_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f___spec__2(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Std_HashMapImp_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f___spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_findCached_x3f___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:
|
||||
{
|
||||
|
|
@ -12156,318 +12056,6 @@ lean_dec(x_1);
|
|||
return x_9;
|
||||
}
|
||||
}
|
||||
uint8_t l_Std_AssocList_contains___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__2(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = 0;
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; uint8_t x_6;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_ctor_get(x_2, 2);
|
||||
x_6 = lean_expr_equal(x_4, x_1);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
x_2 = x_5;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_8;
|
||||
x_8 = 1;
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_AssocList_foldlM___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__5(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = !lean_is_exclusive(x_2);
|
||||
if (x_3 == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_ctor_get(x_2, 2);
|
||||
x_6 = lean_array_get_size(x_1);
|
||||
x_7 = l_Lean_Expr_hash(x_4);
|
||||
x_8 = lean_usize_modn(x_7, x_6);
|
||||
lean_dec(x_6);
|
||||
x_9 = lean_array_uget(x_1, x_8);
|
||||
lean_ctor_set(x_2, 2, x_9);
|
||||
x_10 = lean_array_uset(x_1, x_8, x_2);
|
||||
x_1 = x_10;
|
||||
x_2 = x_5;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_12 = lean_ctor_get(x_2, 0);
|
||||
x_13 = lean_ctor_get(x_2, 1);
|
||||
x_14 = lean_ctor_get(x_2, 2);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_2);
|
||||
x_15 = lean_array_get_size(x_1);
|
||||
x_16 = l_Lean_Expr_hash(x_12);
|
||||
x_17 = lean_usize_modn(x_16, x_15);
|
||||
lean_dec(x_15);
|
||||
x_18 = lean_array_uget(x_1, x_17);
|
||||
x_19 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_19, 0, x_12);
|
||||
lean_ctor_set(x_19, 1, x_13);
|
||||
lean_ctor_set(x_19, 2, x_18);
|
||||
x_20 = lean_array_uset(x_1, x_17, x_19);
|
||||
x_1 = x_20;
|
||||
x_2 = x_14;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_HashMapImp_moveEntries___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
x_4 = lean_array_get_size(x_2);
|
||||
x_5 = lean_nat_dec_lt(x_1, x_4);
|
||||
lean_dec(x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_6 = lean_array_fget(x_2, x_1);
|
||||
x_7 = lean_box(0);
|
||||
x_8 = lean_array_fset(x_2, x_1, x_7);
|
||||
x_9 = l_Std_AssocList_foldlM___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__5(x_3, x_6);
|
||||
x_10 = lean_unsigned_to_nat(1u);
|
||||
x_11 = lean_nat_add(x_1, x_10);
|
||||
lean_dec(x_1);
|
||||
x_1 = x_11;
|
||||
x_2 = x_8;
|
||||
x_3 = x_9;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_HashMapImp_expand___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__3(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_3 = lean_array_get_size(x_2);
|
||||
x_4 = lean_unsigned_to_nat(2u);
|
||||
x_5 = lean_nat_mul(x_3, x_4);
|
||||
lean_dec(x_3);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = lean_mk_array(x_5, x_6);
|
||||
x_8 = lean_unsigned_to_nat(0u);
|
||||
x_9 = l_Std_HashMapImp_moveEntries___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__4(x_8, x_2, x_7);
|
||||
x_10 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_10, 0, x_1);
|
||||
lean_ctor_set(x_10, 1, x_9);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_AssocList_replace___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
lean_object* x_4;
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(0);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = !lean_is_exclusive(x_3);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9;
|
||||
x_6 = lean_ctor_get(x_3, 0);
|
||||
x_7 = lean_ctor_get(x_3, 1);
|
||||
x_8 = lean_ctor_get(x_3, 2);
|
||||
x_9 = lean_expr_equal(x_6, x_1);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10;
|
||||
x_10 = l_Std_AssocList_replace___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__6(x_1, x_2, x_8);
|
||||
lean_ctor_set(x_3, 2, x_10);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14;
|
||||
x_11 = lean_ctor_get(x_3, 0);
|
||||
x_12 = lean_ctor_get(x_3, 1);
|
||||
x_13 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_3);
|
||||
x_14 = lean_expr_equal(x_11, x_1);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
x_15 = l_Std_AssocList_replace___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__6(x_1, x_2, x_13);
|
||||
x_16 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_16, 0, x_11);
|
||||
lean_ctor_set(x_16, 1, x_12);
|
||||
lean_ctor_set(x_16, 2, x_15);
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17;
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
x_17 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_17, 0, x_1);
|
||||
lean_ctor_set(x_17, 1, x_2);
|
||||
lean_ctor_set(x_17, 2, x_13);
|
||||
return x_17;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_HashMapImp_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
x_4 = !lean_is_exclusive(x_1);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_5 = lean_ctor_get(x_1, 0);
|
||||
x_6 = lean_ctor_get(x_1, 1);
|
||||
x_7 = lean_array_get_size(x_6);
|
||||
x_8 = l_Lean_Expr_hash(x_2);
|
||||
x_9 = lean_usize_modn(x_8, x_7);
|
||||
x_10 = lean_array_uget(x_6, x_9);
|
||||
x_11 = l_Std_AssocList_contains___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__2(x_2, x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16;
|
||||
x_12 = lean_unsigned_to_nat(1u);
|
||||
x_13 = lean_nat_add(x_5, x_12);
|
||||
lean_dec(x_5);
|
||||
x_14 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_14, 0, x_2);
|
||||
lean_ctor_set(x_14, 1, x_3);
|
||||
lean_ctor_set(x_14, 2, x_10);
|
||||
x_15 = lean_array_uset(x_6, x_9, x_14);
|
||||
x_16 = lean_nat_dec_le(x_13, x_7);
|
||||
lean_dec(x_7);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
lean_object* x_17;
|
||||
lean_free_object(x_1);
|
||||
x_17 = l_Std_HashMapImp_expand___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__3(x_13, x_15);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_ctor_set(x_1, 1, x_15);
|
||||
lean_ctor_set(x_1, 0, x_13);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19;
|
||||
lean_dec(x_7);
|
||||
x_18 = l_Std_AssocList_replace___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__6(x_2, x_3, x_10);
|
||||
x_19 = lean_array_uset(x_6, x_9, x_18);
|
||||
lean_ctor_set(x_1, 1, x_19);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; uint8_t x_26;
|
||||
x_20 = lean_ctor_get(x_1, 0);
|
||||
x_21 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_21);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_1);
|
||||
x_22 = lean_array_get_size(x_21);
|
||||
x_23 = l_Lean_Expr_hash(x_2);
|
||||
x_24 = lean_usize_modn(x_23, x_22);
|
||||
x_25 = lean_array_uget(x_21, x_24);
|
||||
x_26 = l_Std_AssocList_contains___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__2(x_2, x_25);
|
||||
if (x_26 == 0)
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31;
|
||||
x_27 = lean_unsigned_to_nat(1u);
|
||||
x_28 = lean_nat_add(x_20, x_27);
|
||||
lean_dec(x_20);
|
||||
x_29 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_29, 0, x_2);
|
||||
lean_ctor_set(x_29, 1, x_3);
|
||||
lean_ctor_set(x_29, 2, x_25);
|
||||
x_30 = lean_array_uset(x_21, x_24, x_29);
|
||||
x_31 = lean_nat_dec_le(x_28, x_22);
|
||||
lean_dec(x_22);
|
||||
if (x_31 == 0)
|
||||
{
|
||||
lean_object* x_32;
|
||||
x_32 = l_Std_HashMapImp_expand___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__3(x_28, x_30);
|
||||
return x_32;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_33;
|
||||
x_33 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_33, 0, x_28);
|
||||
lean_ctor_set(x_33, 1, x_30);
|
||||
return x_33;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_34; lean_object* x_35; lean_object* x_36;
|
||||
lean_dec(x_22);
|
||||
x_34 = l_Std_AssocList_replace___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__6(x_2, x_3, x_25);
|
||||
x_35 = lean_array_uset(x_21, x_24, x_34);
|
||||
x_36 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_36, 0, x_20);
|
||||
lean_ctor_set(x_36, 1, x_35);
|
||||
return x_36;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -12482,7 +12070,7 @@ lean_inc(x_13);
|
|||
x_14 = lean_ctor_get(x_12, 1);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_12);
|
||||
x_15 = l_Std_HashMapImp_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__1(x_13, x_1, x_2);
|
||||
x_15 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_13, x_1, x_2);
|
||||
x_16 = lean_st_ref_set(x_4, x_15, x_14);
|
||||
x_17 = !lean_is_exclusive(x_16);
|
||||
if (x_17 == 0)
|
||||
|
|
@ -12508,17 +12096,6 @@ return x_22;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_AssocList_contains___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__2___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l_Std_AssocList_contains___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___spec__2(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -65438,8 +65015,6 @@ if (lean_io_result_is_error(res)) return res;
|
|||
l_Lean_Meta_CheckAssignment_outOfScopeExceptionId = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Meta_CheckAssignment_outOfScopeExceptionId);
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Meta_CheckAssignment_State_cache___default___closed__1 = _init_l_Lean_Meta_CheckAssignment_State_cache___default___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_CheckAssignment_State_cache___default___closed__1);
|
||||
l_Lean_Meta_CheckAssignment_State_cache___default = _init_l_Lean_Meta_CheckAssignment_State_cache___default();
|
||||
lean_mark_persistent(l_Lean_Meta_CheckAssignment_State_cache___default);
|
||||
l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg___closed__1 = _init_l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg___closed__1();
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/Meta/IndPredBelow.c
generated
12
stage0/stdlib/Lean/Meta/IndPredBelow.c
generated
|
|
@ -60,6 +60,7 @@ lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_proveBrecOn_inducti
|
|||
lean_object* l_ReaderT_bind___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__12(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__12(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_IndPredBelow_proveBrecOn_applyIH___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_IndPredBelow_mkContext_mkHeader___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_IndPredBelow_mkConstructor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -177,6 +178,7 @@ lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_mkMotiveBinder(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_modifyBinders___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkCtorType_addHeaderVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkIH(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_withLocalDecls_loop___rarg___lambda__1___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -240,7 +242,6 @@ lean_object* l_Lean_Meta_IndPredBelow_mkBelowDecl(lean_object*, lean_object*, le
|
|||
lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___lambda__1___boxed(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_isInductivePredicate_visit(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_addMotives___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___closed__11;
|
||||
extern lean_object* l_Lean_KernelException_toMessageData___closed__15;
|
||||
lean_object* l_Lean_LocalDecl_toExpr(lean_object*);
|
||||
|
|
@ -403,7 +404,6 @@ lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_applyCtors(lean_object*, lean_
|
|||
lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_IndPredBelow_mkConstructor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkContext_mkHeader___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___closed__7;
|
||||
|
|
@ -4756,7 +4756,7 @@ if (x_15 == 0)
|
|||
lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
x_16 = lean_ctor_get(x_14, 0);
|
||||
x_17 = lean_ctor_get(x_14, 1);
|
||||
x_18 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_16, x_5);
|
||||
x_18 = l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(x_16, x_5);
|
||||
lean_dec(x_16);
|
||||
if (lean_obj_tag(x_18) == 0)
|
||||
{
|
||||
|
|
@ -4792,7 +4792,7 @@ x_25 = lean_ctor_get(x_23, 1);
|
|||
lean_inc(x_25);
|
||||
lean_dec(x_23);
|
||||
lean_inc(x_24);
|
||||
x_26 = lean_alloc_closure((void*)(l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__2), 3, 2);
|
||||
x_26 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__12), 3, 2);
|
||||
lean_closure_set(x_26, 0, x_5);
|
||||
lean_closure_set(x_26, 1, x_24);
|
||||
x_27 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2);
|
||||
|
|
@ -4907,7 +4907,7 @@ x_43 = lean_ctor_get(x_14, 1);
|
|||
lean_inc(x_43);
|
||||
lean_inc(x_42);
|
||||
lean_dec(x_14);
|
||||
x_44 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_42, x_5);
|
||||
x_44 = l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(x_42, x_5);
|
||||
lean_dec(x_42);
|
||||
if (lean_obj_tag(x_44) == 0)
|
||||
{
|
||||
|
|
@ -4942,7 +4942,7 @@ x_51 = lean_ctor_get(x_49, 1);
|
|||
lean_inc(x_51);
|
||||
lean_dec(x_49);
|
||||
lean_inc(x_50);
|
||||
x_52 = lean_alloc_closure((void*)(l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__2), 3, 2);
|
||||
x_52 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__12), 3, 2);
|
||||
lean_closure_set(x_52, 0, x_5);
|
||||
lean_closure_set(x_52, 1, x_50);
|
||||
x_53 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2);
|
||||
|
|
|
|||
17
stage0/stdlib/Lean/Meta/InferType.c
generated
17
stage0/stdlib/Lean/Meta/InferType.c
generated
|
|
@ -39,6 +39,7 @@ lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_inferMVarType___boxed(
|
|||
lean_object* l_Lean_throwError___at_Lean_Meta_throwFunctionExpected___spec__1(lean_object*);
|
||||
lean_object* l_Lean_Expr_instantiateBetaRevRange_visit___closed__1;
|
||||
lean_object* l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_ExprStructEq_instHashableExprStructEq;
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1313____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Expr_instantiateBetaRevRange_visit___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -83,6 +84,7 @@ lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Meta_InferType_0__Lea
|
|||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
lean_object* l_Lean_Expr_instantiateBetaRevRange___closed__6;
|
||||
lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_ExprStructEq_instBEqExprStructEq;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Std_AssocList_foldlM___at_Lean_Expr_instantiateBetaRevRange_visit___spec__7(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__2;
|
||||
|
|
@ -142,7 +144,6 @@ extern lean_object* l_Lean_Meta_getMVarDecl___closed__2;
|
|||
lean_object* l_Lean_Expr_instantiateBetaRevRange_visit___closed__4;
|
||||
extern lean_object* l_Lean_Meta_inferTypeRef;
|
||||
lean_object* l_Std_AssocList_find_x3f___at_Lean_Expr_instantiateBetaRevRange_visit___spec__2___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Expr_instHashableExpr;
|
||||
size_t l_Lean_Expr_hash(lean_object*);
|
||||
lean_object* l_Lean_Expr_instantiateBetaRevRange_visit___closed__9;
|
||||
lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_isArrowProposition(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -200,7 +201,6 @@ lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Meta_isTypeQuick(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkLevelSucc(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_isAlwaysZero_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_expr_eqv(lean_object*, lean_object*);
|
||||
uint8_t lean_expr_equal(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
uint8_t l_USize_decLe(size_t, size_t);
|
||||
|
|
@ -247,7 +247,6 @@ lean_object* l_instHashableNat___boxed(lean_object*);
|
|||
lean_object* l_Std_mkHashMap___at_Lean_Expr_instantiateBetaRevRange___spec__1(lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_throwUnknownMVar___spec__1(lean_object*);
|
||||
size_t lean_usize_mix_hash(size_t, size_t);
|
||||
extern lean_object* l_Lean_Expr_instBEqExpr;
|
||||
lean_object* l_Lean_Meta_isProofQuick___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_instantiateBetaRevRange_visit___closed__5;
|
||||
lean_object* l_Lean_Meta_lambdaLetTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferLambdaType___spec__1(lean_object*);
|
||||
|
|
@ -629,7 +628,7 @@ x_7 = lean_ctor_get(x_4, 0);
|
|||
x_8 = lean_ctor_get(x_4, 1);
|
||||
x_9 = lean_ctor_get(x_1, 0);
|
||||
x_10 = lean_ctor_get(x_1, 1);
|
||||
x_11 = lean_expr_eqv(x_7, x_9);
|
||||
x_11 = lean_expr_equal(x_7, x_9);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
x_2 = x_6;
|
||||
|
|
@ -693,7 +692,7 @@ x_6 = lean_ctor_get(x_4, 0);
|
|||
x_7 = lean_ctor_get(x_4, 1);
|
||||
x_8 = lean_ctor_get(x_1, 0);
|
||||
x_9 = lean_ctor_get(x_1, 1);
|
||||
x_10 = lean_expr_eqv(x_6, x_8);
|
||||
x_10 = lean_expr_equal(x_6, x_8);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
x_2 = x_5;
|
||||
|
|
@ -865,7 +864,7 @@ x_11 = lean_ctor_get(x_1, 0);
|
|||
lean_inc(x_11);
|
||||
x_12 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_12);
|
||||
x_13 = lean_expr_eqv(x_9, x_11);
|
||||
x_13 = lean_expr_equal(x_9, x_11);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_9);
|
||||
if (x_13 == 0)
|
||||
|
|
@ -918,7 +917,7 @@ x_22 = lean_ctor_get(x_1, 0);
|
|||
lean_inc(x_22);
|
||||
x_23 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_23);
|
||||
x_24 = lean_expr_eqv(x_20, x_22);
|
||||
x_24 = lean_expr_equal(x_20, x_22);
|
||||
lean_dec(x_22);
|
||||
lean_dec(x_20);
|
||||
if (x_24 == 0)
|
||||
|
|
@ -1263,7 +1262,7 @@ static lean_object* _init_l_Lean_Expr_instantiateBetaRevRange_visit___closed__2(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Expr_instBEqExpr;
|
||||
x_1 = l_Lean_ExprStructEq_instBEqExprStructEq;
|
||||
x_2 = l_Lean_Expr_instantiateBetaRevRange_visit___closed__1;
|
||||
x_3 = lean_alloc_closure((void*)(l_instBEqProd___rarg), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -1283,7 +1282,7 @@ static lean_object* _init_l_Lean_Expr_instantiateBetaRevRange_visit___closed__4(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Expr_instHashableExpr;
|
||||
x_1 = l_Lean_ExprStructEq_instHashableExprStructEq;
|
||||
x_2 = l_Lean_Expr_instantiateBetaRevRange_visit___closed__3;
|
||||
x_3 = lean_alloc_closure((void*)(l_instHashableProd___rarg___boxed), 3, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Meta/Instances.c
generated
4
stage0/stdlib/Lean/Meta/Instances.c
generated
|
|
@ -135,6 +135,7 @@ lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Meta_addInstance___spec__1_
|
|||
extern lean_object* l_Lean_Meta_DiscrTree_root___default___closed__1;
|
||||
lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_addInstanceEntry___spec__3(lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
extern lean_object* l_Lean_instInhabitedPersistentEnvExtension___closed__2;
|
||||
lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_430____spec__1(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___closed__2;
|
||||
|
|
@ -219,7 +220,6 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
|||
uint8_t l_USize_decLe(size_t, size_t);
|
||||
uint8_t l_Std_RBNode_isRed___rarg(lean_object*);
|
||||
extern lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_243____closed__1;
|
||||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_addDefaultInstance_match__2(lean_object*);
|
||||
|
|
@ -2772,7 +2772,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_NotationExtra___hyg_5711____closed__21;
|
||||
x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c
generated
4
stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c
generated
|
|
@ -65,7 +65,7 @@ extern lean_object* l_Lean_Meta_caseValue___closed__2;
|
|||
lean_object* l_Lean_Meta_getArrayArgType___closed__1;
|
||||
lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
||||
lean_object* l_Lean_Meta_clear(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*);
|
||||
lean_object* lean_name_append_index_after(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getArrayArgType___closed__2;
|
||||
lean_object* l_Lean_Meta_mkArrayLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_instInhabitedCaseArraySizesSubgoal;
|
||||
|
|
@ -864,7 +864,7 @@ x_48 = lean_unsigned_to_nat(1u);
|
|||
x_49 = lean_nat_add(x_7, x_48);
|
||||
lean_inc(x_49);
|
||||
lean_inc(x_4);
|
||||
x_50 = l_Lean_Name_appendIndexAfter(x_4, x_49);
|
||||
x_50 = lean_name_append_index_after(x_4, x_49);
|
||||
lean_inc(x_6);
|
||||
x_51 = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_CaseArraySizes_0__Lean_Meta_introArrayLit_loop___lambda__2), 16, 10);
|
||||
lean_closure_set(x_51, 0, x_8);
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Meta/Match/CaseValues.c
generated
8
stage0/stdlib/Lean/Meta/Match/CaseValues.c
generated
|
|
@ -63,7 +63,7 @@ lean_object* l_Lean_Meta_tryClear(lean_object*, lean_object*, lean_object*, lean
|
|||
lean_object* l_Lean_Meta_caseValueAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_caseValue___closed__2;
|
||||
lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
||||
lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*);
|
||||
lean_object* lean_name_append_index_after(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_instInhabitedCaseValuesSubgoal;
|
||||
lean_object* l_Lean_Meta_caseValueAux_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* lean_array_to_list(lean_object*, lean_object*);
|
||||
|
|
@ -1670,7 +1670,7 @@ lean_inc(x_18);
|
|||
lean_dec(x_5);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_19 = l_Lean_Name_appendIndexAfter(x_2, x_3);
|
||||
x_19 = lean_name_append_index_after(x_2, x_3);
|
||||
x_20 = lean_box(0);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
|
|
@ -1699,7 +1699,7 @@ x_28 = lean_ctor_get(x_23, 2);
|
|||
lean_inc(x_28);
|
||||
x_29 = l_Lean_Meta_caseValues_loop___closed__6;
|
||||
lean_inc(x_3);
|
||||
x_30 = l_Lean_Name_appendIndexAfter(x_29, x_3);
|
||||
x_30 = lean_name_append_index_after(x_29, x_3);
|
||||
lean_inc(x_26);
|
||||
x_31 = l_Lean_Meta_appendTagSuffix(x_26, x_30, x_8, x_9, x_10, x_11, x_24);
|
||||
if (lean_obj_tag(x_31) == 0)
|
||||
|
|
@ -1815,7 +1815,7 @@ lean_dec(x_25);
|
|||
x_41 = lean_unsigned_to_nat(1u);
|
||||
x_42 = lean_nat_add(x_3, x_41);
|
||||
lean_dec(x_3);
|
||||
x_43 = l_Lean_Name_appendIndexAfter(x_29, x_42);
|
||||
x_43 = lean_name_append_index_after(x_29, x_42);
|
||||
lean_inc(x_39);
|
||||
x_44 = l_Lean_Meta_appendTagSuffix(x_39, x_43, x_8, x_9, x_10, x_11, x_34);
|
||||
lean_dec(x_11);
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Meta/Match/Match.c
generated
6
stage0/stdlib/Lean/Meta/Match/Match.c
generated
|
|
@ -361,7 +361,7 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isArrayLitTran
|
|||
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasValPattern(lean_object*);
|
||||
lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1___closed__2;
|
||||
lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*);
|
||||
lean_object* lean_name_append_index_after(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getInductiveUniverseAndParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasRecursiveType_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_replace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__7___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1400,7 +1400,7 @@ x_35 = l_List_lengthAux___rarg(x_4, x_34);
|
|||
x_36 = lean_unsigned_to_nat(1u);
|
||||
x_37 = lean_nat_add(x_35, x_36);
|
||||
x_38 = l_Lean_Meta_caseValue___closed__2;
|
||||
x_39 = l_Lean_Name_appendIndexAfter(x_38, x_37);
|
||||
x_39 = lean_name_append_index_after(x_38, x_37);
|
||||
x_63 = lean_st_ref_get(x_9, x_29);
|
||||
x_64 = lean_ctor_get(x_63, 0);
|
||||
lean_inc(x_64);
|
||||
|
|
@ -15912,7 +15912,7 @@ x_14 = lean_unsigned_to_nat(1u);
|
|||
x_15 = lean_nat_sub(x_5, x_14);
|
||||
x_16 = lean_nat_add(x_15, x_14);
|
||||
lean_inc(x_4);
|
||||
x_17 = l_Lean_Name_appendIndexAfter(x_4, x_16);
|
||||
x_17 = lean_name_append_index_after(x_4, x_16);
|
||||
lean_inc(x_3);
|
||||
x_18 = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop___lambda__1___boxed), 12, 6);
|
||||
lean_closure_set(x_18, 0, x_6);
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/Meta/Reduce.c
generated
12
stage0/stdlib/Lean/Meta/Reduce.c
generated
|
|
@ -35,6 +35,7 @@ lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_reduce_visit___spec__4(l
|
|||
lean_object* l_Lean_Meta_forallTelescope___at_Lean_Meta_reduce_visit___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_reduce_visit___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_reduce_visit_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_reduce_visit___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -55,7 +56,6 @@ extern lean_object* l_Lean_Meta_instInhabitedParamInfo;
|
|||
lean_object* l_Lean_Meta_reduce___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_reduce_visit___lambda__4(lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_pure___at_Lean_Meta_reduce_visit___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_pure___at_Lean_Meta_reduce_visit___spec__1(lean_object*);
|
||||
|
|
@ -70,9 +70,9 @@ lean_object* lean_mk_array(lean_object*, lean_object*);
|
|||
extern lean_object* l_Std_HashMap_instInhabitedHashMap___closed__1;
|
||||
lean_object* l_Lean_Meta_reduce_visit___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* l_Lean_Meta_reduce_visit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_insert___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_getAppFn(lean_object*);
|
||||
lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_reduce_visit___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_withIncRecDepth___at_Lean_Meta_reduce_visit___spec__6___lambda__1___boxed(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_lambdaTelescopeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1291,7 +1291,7 @@ if (x_14 == 0)
|
|||
lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_15 = lean_ctor_get(x_13, 0);
|
||||
x_16 = lean_ctor_get(x_13, 1);
|
||||
x_17 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_15, x_4);
|
||||
x_17 = l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(x_15, x_4);
|
||||
lean_dec(x_15);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
|
|
@ -1341,7 +1341,7 @@ x_34 = lean_ctor_get(x_32, 1);
|
|||
lean_inc(x_34);
|
||||
lean_dec(x_32);
|
||||
lean_inc(x_28);
|
||||
x_35 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_33, x_4, x_28);
|
||||
x_35 = l_Std_HashMapImp_insert___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__3(x_33, x_4, x_28);
|
||||
x_36 = lean_st_ref_set(x_5, x_35, x_34);
|
||||
lean_dec(x_5);
|
||||
x_37 = !lean_is_exclusive(x_36);
|
||||
|
|
@ -1415,7 +1415,7 @@ x_47 = lean_ctor_get(x_13, 1);
|
|||
lean_inc(x_47);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_13);
|
||||
x_48 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_46, x_4);
|
||||
x_48 = l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(x_46, x_4);
|
||||
lean_dec(x_46);
|
||||
if (lean_obj_tag(x_48) == 0)
|
||||
{
|
||||
|
|
@ -1464,7 +1464,7 @@ x_65 = lean_ctor_get(x_63, 1);
|
|||
lean_inc(x_65);
|
||||
lean_dec(x_63);
|
||||
lean_inc(x_59);
|
||||
x_66 = l_Std_HashMapImp_insert___at_Lean_MetavarContext_instantiateExprMVars___spec__3(x_64, x_4, x_59);
|
||||
x_66 = l_Std_HashMapImp_insert___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__3(x_64, x_4, x_59);
|
||||
x_67 = lean_st_ref_set(x_5, x_66, x_65);
|
||||
lean_dec(x_5);
|
||||
x_68 = lean_ctor_get(x_67, 1);
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/Meta/SizeOf.c
generated
12
stage0/stdlib/Lean/Meta/SizeOf.c
generated
|
|
@ -199,7 +199,7 @@ lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint
|
|||
lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_isInductiveHypothesis_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*);
|
||||
lean_object* lean_name_append_index_after(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances_loop___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -297,7 +297,7 @@ lean_object* l_Lean_setEnv___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSp
|
|||
lean_object* l_List_redLength___rarg(lean_object*);
|
||||
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop_match__2(lean_object*);
|
||||
lean_object* l_Lean_Name_appendAfter(lean_object*, lean_object*);
|
||||
lean_object* lean_name_append_after(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*);
|
||||
lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___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*);
|
||||
lean_object* l_Lean_isInductivePredicate___at_Lean_Meta_mkSizeOfInstances___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -5231,7 +5231,7 @@ lean_inc(x_15);
|
|||
lean_dec(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_1);
|
||||
x_16 = l_Lean_Name_appendIndexAfter(x_1, x_12);
|
||||
x_16 = lean_name_append_index_after(x_1, x_12);
|
||||
x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_21357____closed__3;
|
||||
x_18 = lean_name_mk_string(x_10, x_17);
|
||||
lean_inc(x_7);
|
||||
|
|
@ -5331,10 +5331,10 @@ x_22 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_21357____closed__
|
|||
lean_inc(x_1);
|
||||
x_23 = lean_name_mk_string(x_1, x_22);
|
||||
x_24 = lean_nat_add(x_5, x_16);
|
||||
x_25 = l_Lean_Name_appendIndexAfter(x_23, x_24);
|
||||
x_25 = lean_name_append_index_after(x_23, x_24);
|
||||
lean_inc(x_18);
|
||||
lean_inc(x_2);
|
||||
x_26 = l_Lean_Name_appendIndexAfter(x_2, x_18);
|
||||
x_26 = lean_name_append_index_after(x_2, x_18);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
|
|
@ -9523,7 +9523,7 @@ x_15 = lean_ctor_get(x_13, 1);
|
|||
lean_inc(x_15);
|
||||
lean_dec(x_13);
|
||||
x_16 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___closed__1;
|
||||
x_17 = l_Lean_Name_appendAfter(x_11, x_16);
|
||||
x_17 = lean_name_append_after(x_11, x_16);
|
||||
x_18 = lean_st_ref_get(x_7, x_15);
|
||||
x_19 = !lean_is_exclusive(x_18);
|
||||
if (x_19 == 0)
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Meta/Tactic/Cases.c
generated
4
stage0/stdlib/Lean/Meta/Tactic/Cases.c
generated
|
|
@ -94,7 +94,6 @@ lean_object* l_Std_PersistentArray_anyM___at___private_Lean_Meta_Tactic_Cases_0_
|
|||
lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__1(lean_object*, lean_object*, size_t, size_t);
|
||||
lean_object* l_Lean_Expr_appFn_x21(lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_238____closed__1;
|
||||
lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__49___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__38(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
|
|
@ -224,6 +223,7 @@ lean_object* l_Lean_LocalDecl_toExpr(lean_object*);
|
|||
lean_object* l_Lean_Meta_getLocalInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
lean_object* l_Lean_Meta_Cases_unifyEqs_match__2(lean_object*);
|
||||
lean_object* l_Std_PersistentArray_anyM___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__45___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_observing_x3f___at_Lean_Meta_Cases_unifyEqs_substEq___spec__1___at_Lean_Meta_Cases_unifyEqs_substEq___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -13406,7 +13406,7 @@ static lean_object* _init_l_Lean_Meta_Cases_cases___lambda__1___closed__4() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_238____closed__1;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
x_2 = l_Lean_Parser_Tactic_cases___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
32
stage0/stdlib/Lean/Meta/Tactic/ElimInfo.c
generated
32
stage0/stdlib/Lean/Meta/Tactic/ElimInfo.c
generated
|
|
@ -44,7 +44,7 @@ lean_object* lean_array_push(lean_object*, lean_object*);
|
|||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_getElimInfo___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_getElimInfo___spec__8(lean_object*, lean_object*, size_t, size_t);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__27;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__27;
|
||||
lean_object* l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1;
|
||||
extern lean_object* l_Lean_Expr_getAppArgs___closed__1;
|
||||
|
|
@ -53,9 +53,9 @@ extern lean_object* l_instReprProd___rarg___closed__1;
|
|||
lean_object* l_Lean_Meta_addImplicitTargets___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_getElimInfo___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
lean_object* l_Lean_Meta_addImplicitTargets(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getElimInfo___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_addImplicitTargets___spec__2___closed__1;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getElimInfo___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -157,12 +157,12 @@ lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_objec
|
|||
extern lean_object* l_Array_instReprArray___rarg___closed__2;
|
||||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_getElimInfo___spec__6___closed__1;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__28;
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_getElimInfo___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getElimInfo___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__28;
|
||||
extern lean_object* l_Lean_Name_instReprName___closed__2;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__29;
|
||||
lean_object* l_Array_contains___at_Lean_Meta_addImplicitTargets_collect___spec__1___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__29;
|
||||
lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_getElimInfo___spec__6___closed__2;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_getElimInfo___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -217,7 +217,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimAltInfo____x40_Lean_Meta_Tactic_ElimInfo___hyg_7____closed__3;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_3 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
|
|
@ -272,7 +272,7 @@ x_15 = l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimAltInfo____x40
|
|||
x_16 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_14);
|
||||
lean_ctor_set(x_16, 1, x_15);
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_18 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_16);
|
||||
lean_ctor_set(x_18, 1, x_17);
|
||||
|
|
@ -285,15 +285,15 @@ lean_ctor_set(x_21, 0, x_20);
|
|||
x_22 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_18);
|
||||
lean_ctor_set(x_22, 1, x_21);
|
||||
x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__28;
|
||||
x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__28;
|
||||
x_24 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_23);
|
||||
lean_ctor_set(x_24, 1, x_22);
|
||||
x_25 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__29;
|
||||
x_25 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__29;
|
||||
x_26 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_26, 0, x_24);
|
||||
lean_ctor_set(x_26, 1, x_25);
|
||||
x_27 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__27;
|
||||
x_27 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__27;
|
||||
x_28 = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_27);
|
||||
lean_ctor_set(x_28, 1, x_26);
|
||||
|
|
@ -540,7 +540,7 @@ x_15 = l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimInfo____x40_Le
|
|||
x_16 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_14);
|
||||
lean_ctor_set(x_16, 1, x_15);
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_18 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_16);
|
||||
lean_ctor_set(x_18, 1, x_17);
|
||||
|
|
@ -654,15 +654,15 @@ lean_ctor_set_uint8(x_52, sizeof(void*)*1, x_51);
|
|||
x_53 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_53, 0, x_41);
|
||||
lean_ctor_set(x_53, 1, x_52);
|
||||
x_54 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__28;
|
||||
x_54 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__28;
|
||||
x_55 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_55, 0, x_54);
|
||||
lean_ctor_set(x_55, 1, x_53);
|
||||
x_56 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__29;
|
||||
x_56 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__29;
|
||||
x_57 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_57, 0, x_55);
|
||||
lean_ctor_set(x_57, 1, x_56);
|
||||
x_58 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__27;
|
||||
x_58 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__27;
|
||||
x_59 = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(x_59, 0, x_58);
|
||||
lean_ctor_set(x_59, 1, x_57);
|
||||
|
|
@ -680,15 +680,15 @@ x_62 = l_Array_instReprArray___rarg___closed__5;
|
|||
x_63 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_63, 0, x_41);
|
||||
lean_ctor_set(x_63, 1, x_62);
|
||||
x_64 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__28;
|
||||
x_64 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__28;
|
||||
x_65 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_65, 0, x_64);
|
||||
lean_ctor_set(x_65, 1, x_63);
|
||||
x_66 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__29;
|
||||
x_66 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__29;
|
||||
x_67 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_67, 0, x_65);
|
||||
lean_ctor_set(x_67, 1, x_66);
|
||||
x_68 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__27;
|
||||
x_68 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__27;
|
||||
x_69 = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(x_69, 0, x_68);
|
||||
lean_ctor_set(x_69, 1, x_67);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Meta/Tactic/Induction.c
generated
4
stage0/stdlib/Lean/Meta/Tactic/Induction.c
generated
|
|
@ -56,7 +56,6 @@ lean_object* l_List_foldlM___at_Lean_Meta_induction___spec__6___lambda__1(lean_o
|
|||
lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__7___closed__7;
|
||||
lean_object* l_Lean_Meta_induction___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_Meta_induction___closed__3;
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_238____closed__1;
|
||||
extern lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___closed__4;
|
||||
lean_object* l_Lean_Meta_InductionSubgoal_fields___default;
|
||||
lean_object* lean_expr_instantiate1(lean_object*, lean_object*);
|
||||
|
|
@ -144,6 +143,7 @@ lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, ui
|
|||
lean_object* l_Lean_Meta_synthInstance_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__7___boxed(lean_object**);
|
||||
lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec__7___closed__1;
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
lean_object* l_Lean_Meta_RecursorInfo_firstIndexPos(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___lambda__3___closed__1;
|
||||
uint8_t l_Lean_Expr_isForall(lean_object*);
|
||||
|
|
@ -5665,7 +5665,7 @@ static lean_object* _init_l_Lean_Meta_induction___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_238____closed__1;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
x_2 = l_Lean_Parser_Tactic_induction___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
38
stage0/stdlib/Lean/Meta/Tactic/Simp/CongrLemmas.c
generated
38
stage0/stdlib/Lean/Meta/Tactic/Simp/CongrLemmas.c
generated
|
|
@ -89,7 +89,7 @@ lean_object* lean_array_push(lean_object*, lean_object*);
|
|||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*);
|
||||
lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_CongrLemmas_get___spec__6___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__27;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__27;
|
||||
extern lean_object* l_Lean_Expr_getAppArgs___closed__1;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__5___closed__7;
|
||||
extern lean_object* l_Applicative_seqRight___default___rarg___closed__1;
|
||||
|
|
@ -109,8 +109,8 @@ lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_mkCongrLemma___s
|
|||
lean_object* l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_21____closed__10;
|
||||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_CongrLemmas_get___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
lean_object* l_Lean_SMap_fold___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_119____spec__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_ScopedEnvExtension_instInhabitedDescr___rarg___closed__1;
|
||||
lean_object* l_Lean_Meta_congrExtension___closed__2;
|
||||
|
|
@ -313,15 +313,15 @@ lean_object* l_Lean_Meta_getCongrLemmas___rarg___boxed(lean_object*, lean_object
|
|||
lean_object* l_repr___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_119____spec__15(lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkCongrLemma___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_CongrLemmas_get___spec__2___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__28;
|
||||
lean_object* l_Lean_ScopedEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__28;
|
||||
extern lean_object* l_Lean_Name_instReprName___closed__2;
|
||||
extern lean_object* l_Std_Format_sbracket___closed__2;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__29;
|
||||
lean_object* l_Lean_Expr_FindImpl_findM_x3f_visit(lean_object*, size_t, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_instInhabitedCongrLemmas;
|
||||
uint8_t l_Lean_Meta_mkCongrLemma_onlyMVarsAt___lambda__1(lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__29;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_CongrLemmas_get___spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_119____spec__8(lean_object*);
|
||||
|
|
@ -479,7 +479,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_21____closed__3;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_3 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
|
|
@ -570,7 +570,7 @@ x_15 = l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma
|
|||
x_16 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_14);
|
||||
lean_ctor_set(x_16, 1, x_15);
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_18 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_16);
|
||||
lean_ctor_set(x_18, 1, x_17);
|
||||
|
|
@ -651,15 +651,15 @@ lean_ctor_set(x_52, 1, x_17);
|
|||
x_53 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_53, 0, x_52);
|
||||
lean_ctor_set(x_53, 1, x_35);
|
||||
x_54 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__28;
|
||||
x_54 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__28;
|
||||
x_55 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_55, 0, x_54);
|
||||
lean_ctor_set(x_55, 1, x_53);
|
||||
x_56 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__29;
|
||||
x_56 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__29;
|
||||
x_57 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_57, 0, x_55);
|
||||
lean_ctor_set(x_57, 1, x_56);
|
||||
x_58 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__27;
|
||||
x_58 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__27;
|
||||
x_59 = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(x_59, 0, x_58);
|
||||
lean_ctor_set(x_59, 1, x_57);
|
||||
|
|
@ -693,15 +693,15 @@ lean_ctor_set(x_68, 1, x_17);
|
|||
x_69 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_69, 0, x_68);
|
||||
lean_ctor_set(x_69, 1, x_35);
|
||||
x_70 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__28;
|
||||
x_70 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__28;
|
||||
x_71 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_71, 0, x_70);
|
||||
lean_ctor_set(x_71, 1, x_69);
|
||||
x_72 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__29;
|
||||
x_72 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__29;
|
||||
x_73 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_73, 0, x_71);
|
||||
lean_ctor_set(x_73, 1, x_72);
|
||||
x_74 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__27;
|
||||
x_74 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__27;
|
||||
x_75 = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(x_75, 0, x_74);
|
||||
lean_ctor_set(x_75, 1, x_73);
|
||||
|
|
@ -1635,7 +1635,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_119____closed__3;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__4;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__4;
|
||||
x_3 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
|
|
@ -1668,7 +1668,7 @@ static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__28;
|
||||
x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__28;
|
||||
x_2 = l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_119____closed__6;
|
||||
x_3 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -1681,7 +1681,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_119____closed__7;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__29;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__29;
|
||||
x_3 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
|
|
@ -1692,7 +1692,7 @@ static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__27;
|
||||
x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__27;
|
||||
x_2 = l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemmas____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_119____closed__8;
|
||||
x_3 = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -1754,15 +1754,15 @@ x_19 = l___private_Lean_Meta_Tactic_Simp_CongrLemmas_0__Lean_Meta_reprCongrLemma
|
|||
x_20 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_19);
|
||||
lean_ctor_set(x_20, 1, x_18);
|
||||
x_21 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__28;
|
||||
x_21 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__28;
|
||||
x_22 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_21);
|
||||
lean_ctor_set(x_22, 1, x_20);
|
||||
x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__29;
|
||||
x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__29;
|
||||
x_24 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_22);
|
||||
lean_ctor_set(x_24, 1, x_23);
|
||||
x_25 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__27;
|
||||
x_25 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__27;
|
||||
x_26 = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(x_26, 0, x_25);
|
||||
lean_ctor_set(x_26, 1, x_24);
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c
generated
12
stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c
generated
|
|
@ -64,6 +64,7 @@ lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main
|
|||
lean_object* l_Lean_Meta_Simp_DefaultMethods_post(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkConstWithFreshMVarLevels(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__12(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__2;
|
||||
lean_object* l_Lean_Meta_Simp_simp___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* l_Lean_Meta_Simp_simp_simpLet___closed__5;
|
||||
|
|
@ -184,6 +185,7 @@ lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_simp_simpForall___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_Lean_Meta_Simp_simp_simpForall___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Simp_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Simp_simp_simpArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Simp_simp_processCongrHypothesis___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*);
|
||||
|
|
@ -248,7 +250,6 @@ size_t lean_usize_modn(size_t, lean_object*);
|
|||
lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Simp_simp_simpApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Simp_Result_getProof_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__8(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_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -420,7 +421,6 @@ lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tact
|
|||
lean_object* l_Lean_Meta_Simp_throwCongrHypothesisFailed___rarg(lean_object*);
|
||||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__2;
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__7___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -6822,7 +6822,7 @@ if (x_17 == 0)
|
|||
lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_18 = lean_ctor_get(x_16, 0);
|
||||
x_19 = lean_ctor_get(x_16, 1);
|
||||
x_20 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_18, x_5);
|
||||
x_20 = l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(x_18, x_5);
|
||||
lean_dec(x_18);
|
||||
if (lean_obj_tag(x_20) == 0)
|
||||
{
|
||||
|
|
@ -6860,7 +6860,7 @@ x_27 = lean_ctor_get(x_25, 1);
|
|||
lean_inc(x_27);
|
||||
lean_dec(x_25);
|
||||
lean_inc(x_26);
|
||||
x_28 = lean_alloc_closure((void*)(l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__2), 3, 2);
|
||||
x_28 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__12), 3, 2);
|
||||
lean_closure_set(x_28, 0, x_5);
|
||||
lean_closure_set(x_28, 1, x_26);
|
||||
x_29 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2);
|
||||
|
|
@ -6979,7 +6979,7 @@ x_45 = lean_ctor_get(x_16, 1);
|
|||
lean_inc(x_45);
|
||||
lean_inc(x_44);
|
||||
lean_dec(x_16);
|
||||
x_46 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_44, x_5);
|
||||
x_46 = l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(x_44, x_5);
|
||||
lean_dec(x_44);
|
||||
if (lean_obj_tag(x_46) == 0)
|
||||
{
|
||||
|
|
@ -7016,7 +7016,7 @@ x_53 = lean_ctor_get(x_51, 1);
|
|||
lean_inc(x_53);
|
||||
lean_dec(x_51);
|
||||
lean_inc(x_52);
|
||||
x_54 = lean_alloc_closure((void*)(l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__2), 3, 2);
|
||||
x_54 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__12), 3, 2);
|
||||
lean_closure_set(x_54, 0, x_5);
|
||||
lean_closure_set(x_54, 1, x_52);
|
||||
x_55 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Meta/Tactic/Subst.c
generated
4
stage0/stdlib/Lean/Meta/Tactic/Subst.c
generated
|
|
@ -54,7 +54,6 @@ lean_object* l_Lean_Meta_substCore___lambda__16___boxed(lean_object**);
|
|||
lean_object* l_Std_PersistentArray_findSomeMAux___at_Lean_Meta_subst___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkEqRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_subst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_238____closed__1;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* l_Lean_Meta_substCore___lambda__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -134,6 +133,7 @@ lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, ui
|
|||
lean_object* l_Lean_Meta_substCore___lambda__11(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_substCore___lambda__13___boxed(lean_object**);
|
||||
lean_object* l_Lean_Meta_subst_match__3(lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Nat_foldM_loop___at_Lean_Meta_substCore___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkFVar(lean_object*);
|
||||
|
|
@ -5041,7 +5041,7 @@ static lean_object* _init_l_Lean_Meta_substCore___lambda__20___closed__13() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_238____closed__1;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
x_2 = l_Lean_Parser_Tactic_subst___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
92
stage0/stdlib/Lean/Meta/Tactic/Util.c
generated
92
stage0/stdlib/Lean/Meta/Tactic/Util.c
generated
|
|
@ -41,7 +41,6 @@ lean_object* l_Lean_Meta_checkNotAssigned___closed__2;
|
|||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
lean_object* l_List_erase___at_Lean_Meta_getNondepPropHyps_removeDeps___spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_238____closed__1;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* l_Lean_Meta_setMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -64,6 +63,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_getNondepPropHyps___spec__4
|
|||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_740____closed__2;
|
||||
extern lean_object* l_Lean_Parser_Tactic_tacticAdmit___closed__3;
|
||||
lean_object* l_Std_HashSetImp_erase___at_Lean_Meta_getNondepPropHyps_removeDeps___spec__1___boxed(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Name_hasMacroScopes(lean_object*);
|
||||
lean_object* l_Lean_Meta_throwTacticEx___rarg___closed__4;
|
||||
lean_object* l_List_erase___at_Lean_Meta_getNondepPropHyps_removeDeps___spec__2___boxed(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
|
|
@ -90,6 +90,7 @@ size_t lean_usize_modn(size_t, lean_object*);
|
|||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_getNondepPropHyps___spec__9(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__1(lean_object*);
|
||||
extern lean_object* l_Lean_KernelException_toMessageData___closed__15;
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
lean_object* l_Std_HashSetImp_erase___at_Lean_Meta_getNondepPropHyps_removeDeps___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__7(lean_object*, lean_object*);
|
||||
|
|
@ -139,7 +140,7 @@ lean_object* l_Std_PersistentArray_forIn___at_Lean_Meta_getNondepPropHyps___spec
|
|||
extern lean_object* l_Lean_Parser_Tactic_intro___closed__1;
|
||||
lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getNondepPropHyps_removeDeps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_238_(lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225_(lean_object*);
|
||||
lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getMVarTag___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_setMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -319,42 +320,55 @@ return x_8;
|
|||
lean_object* l_Lean_Meta_appendTag(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; uint8_t x_4;
|
||||
x_3 = l_Lean_extractMacroScopes(x_1);
|
||||
x_4 = !lean_is_exclusive(x_3);
|
||||
if (x_4 == 0)
|
||||
uint8_t x_3;
|
||||
x_3 = l_Lean_Name_hasMacroScopes(x_1);
|
||||
if (x_3 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_5 = lean_ctor_get(x_3, 0);
|
||||
x_6 = lean_erase_macro_scopes(x_2);
|
||||
x_7 = l_Lean_Name_append(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
lean_ctor_set(x_3, 0, x_7);
|
||||
x_8 = l_Lean_MacroScopesView_review(x_3);
|
||||
return x_8;
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = lean_erase_macro_scopes(x_2);
|
||||
x_5 = l_Lean_Name_append(x_1, x_4);
|
||||
lean_dec(x_1);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_9 = lean_ctor_get(x_3, 0);
|
||||
x_10 = lean_ctor_get(x_3, 1);
|
||||
x_11 = lean_ctor_get(x_3, 2);
|
||||
x_12 = lean_ctor_get(x_3, 3);
|
||||
lean_object* x_6; uint8_t x_7;
|
||||
x_6 = l_Lean_extractMacroScopes(x_1);
|
||||
x_7 = !lean_is_exclusive(x_6);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_8 = lean_ctor_get(x_6, 0);
|
||||
x_9 = lean_erase_macro_scopes(x_2);
|
||||
x_10 = l_Lean_Name_append(x_8, x_9);
|
||||
lean_dec(x_8);
|
||||
lean_ctor_set(x_6, 0, x_10);
|
||||
x_11 = l_Lean_MacroScopesView_review(x_6);
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
x_12 = lean_ctor_get(x_6, 0);
|
||||
x_13 = lean_ctor_get(x_6, 1);
|
||||
x_14 = lean_ctor_get(x_6, 2);
|
||||
x_15 = lean_ctor_get(x_6, 3);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_3);
|
||||
x_13 = lean_erase_macro_scopes(x_2);
|
||||
x_14 = l_Lean_Name_append(x_9, x_13);
|
||||
lean_dec(x_9);
|
||||
x_15 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
lean_ctor_set(x_15, 1, x_10);
|
||||
lean_ctor_set(x_15, 2, x_11);
|
||||
lean_ctor_set(x_15, 3, x_12);
|
||||
x_16 = l_Lean_MacroScopesView_review(x_15);
|
||||
return x_16;
|
||||
lean_dec(x_6);
|
||||
x_16 = lean_erase_macro_scopes(x_2);
|
||||
x_17 = l_Lean_Name_append(x_12, x_16);
|
||||
lean_dec(x_12);
|
||||
x_18 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_18, 0, x_17);
|
||||
lean_ctor_set(x_18, 1, x_13);
|
||||
lean_ctor_set(x_18, 2, x_14);
|
||||
lean_ctor_set(x_18, 3, x_15);
|
||||
x_19 = l_Lean_MacroScopesView_review(x_18);
|
||||
return x_19;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -832,7 +846,7 @@ return x_22;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_238____closed__1() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -842,11 +856,11 @@ x_3 = lean_name_mk_string(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_238_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_238____closed__1;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
x_3 = l_Lean_registerTraceClass(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -4245,9 +4259,9 @@ l_Lean_Meta_checkNotAssigned___closed__2 = _init_l_Lean_Meta_checkNotAssigned___
|
|||
lean_mark_persistent(l_Lean_Meta_checkNotAssigned___closed__2);
|
||||
l_Lean_Meta_checkNotAssigned___closed__3 = _init_l_Lean_Meta_checkNotAssigned___closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_checkNotAssigned___closed__3);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_238____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_238____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_238____closed__1);
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_238_(lean_io_mk_world());
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1);
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Meta_admit___closed__1 = _init_l_Lean_Meta_admit___closed__1();
|
||||
|
|
|
|||
141
stage0/stdlib/Lean/Meta/Transform.c
generated
141
stage0/stdlib/Lean/Meta/Transform.c
generated
|
|
@ -23,10 +23,9 @@ size_t l_USize_add(size_t, size_t);
|
|||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_transform_visit___spec__1___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*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_transform_visit___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform(lean_object*);
|
||||
lean_object* l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_transform_visit_visitPost___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_whnf___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2;
|
||||
lean_object* l_Lean_Meta_transform_visit_visitLambda(lean_object*);
|
||||
lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -37,6 +36,7 @@ lean_object* lean_expr_update_mdata(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Meta_transform___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_zetaReduce___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__12(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_withIncRecDepth___at_Lean_Core_betaReduce___spec__7___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
|
|
@ -56,6 +56,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_betaReduce___spec__4(lean_obj
|
|||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__4(uint64_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_zetaReduce___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_transform_visit_visitForall_match__1(lean_object*);
|
||||
lean_object* l_Lean_Core_transform___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -74,11 +75,10 @@ lean_object* l_Lean_Expr_withAppAux___at_Lean_Core_transform_visit___spec__2___r
|
|||
lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___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* l_Lean_Meta_transform___rarg___closed__1;
|
||||
lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___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* l_Lean_Core_transform_visit___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_withIncRecDepth___at_Lean_Core_transform_visit___spec__4___rarg___lambda__3(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_transform(lean_object*);
|
||||
lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___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* l_Lean_Core_transform_visit_visitPost_match__1(lean_object*);
|
||||
|
|
@ -98,6 +98,7 @@ lean_object* l_Lean_Meta_transform_visit___rarg___lambda__1(lean_object*, lean_o
|
|||
lean_object* l_Lean_Meta_transform___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___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* l_Lean_Expr_withAppAux___at_Lean_Core_transform_visit___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* l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_transform___rarg___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -111,7 +112,7 @@ lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__1(lean_object
|
|||
lean_object* l_Lean_Core_betaReduce___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ST_Prim_Ref_get___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit_visitPost(lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_bind___at_Lean_Meta_transform_visit___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_betaReduce___closed__2;
|
||||
|
|
@ -133,11 +134,11 @@ lean_object* l_Lean_Expr_withAppAux___at_Lean_Core_betaReduce___spec__5___boxed_
|
|||
lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__4(lean_object*);
|
||||
extern lean_object* l_Lean_Expr_updateProj_x21___closed__3;
|
||||
lean_object* l_Lean_Core_transform_visit(lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit_visitPost___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_transform_visit___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_transform___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___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_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_transform___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -162,6 +163,7 @@ lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__
|
|||
lean_object* l_Lean_Meta_zetaReduce_match__2(lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit_match__1(lean_object*);
|
||||
lean_object* l_Lean_Expr_withAppAux___at_Lean_Core_transform_visit___spec__2___rarg___lambda__2___boxed__const__1;
|
||||
lean_object* l_ReaderT_instMonadReaderT___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_transform_visit_visitLet_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_transform_visit___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_transform___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -169,6 +171,7 @@ lean_object* l_Lean_Meta_transform_visit_visitForall_match__1___rarg(lean_object
|
|||
lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_betaReduce___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Expr_updateMData_x21___closed__3;
|
||||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_withIncRecDepth___at_Lean_Core_transform_visit___spec__4___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -199,21 +202,21 @@ lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__3(lean_object
|
|||
lean_object* l_Lean_Meta_transform_visit_visitForall(lean_object*);
|
||||
lean_object* l_Lean_Meta_zetaReduce(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_HashMap_instInhabitedHashMap___closed__1;
|
||||
lean_object* l_Lean_Meta_transform_visit_visitPost___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_transform_visit_visitLet___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_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_zetaReduce_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_zetaReduce___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Expr_updateLet_x21___closed__2;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1(lean_object*);
|
||||
lean_object* l_Std_HashMapImp_insert___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_zetaReduce_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_betaReduce___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_withAppAux___at_Lean_Core_transform_visit___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_local_ctx_find(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___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*, lean_object*);
|
||||
|
|
@ -776,7 +779,22 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Core_withIncRecDepth___at_Lean_Core_tran
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_4 = l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(x_3, x_1);
|
||||
x_5 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_ctor_get(x_5, 1);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_5);
|
||||
x_7 = lean_apply_2(x_6, lean_box(0), x_4);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 6)
|
||||
|
|
@ -828,7 +846,7 @@ return x_27;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
|
|
@ -840,7 +858,7 @@ lean_inc(x_3);
|
|||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_12 = l_Lean_Core_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
x_13 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__1), 10, 9);
|
||||
x_13 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__2), 10, 9);
|
||||
lean_closure_set(x_13, 0, x_9);
|
||||
lean_closure_set(x_13, 1, x_1);
|
||||
lean_closure_set(x_13, 2, x_2);
|
||||
|
|
@ -854,7 +872,7 @@ x_14 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_12, x_13);
|
|||
return x_14;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 7)
|
||||
|
|
@ -906,7 +924,7 @@ return x_27;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
|
|
@ -918,7 +936,7 @@ lean_inc(x_3);
|
|||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_12 = l_Lean_Core_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
x_13 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__3), 10, 9);
|
||||
x_13 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__4), 10, 9);
|
||||
lean_closure_set(x_13, 0, x_9);
|
||||
lean_closure_set(x_13, 1, x_1);
|
||||
lean_closure_set(x_13, 2, x_2);
|
||||
|
|
@ -932,7 +950,7 @@ x_14 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_12, x_13);
|
|||
return x_14;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 8)
|
||||
|
|
@ -985,7 +1003,7 @@ return x_26;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
|
|
@ -997,7 +1015,7 @@ lean_inc(x_3);
|
|||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_13 = l_Lean_Core_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
x_14 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__5), 11, 10);
|
||||
x_14 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__6), 11, 10);
|
||||
lean_closure_set(x_14, 0, x_9);
|
||||
lean_closure_set(x_14, 1, x_1);
|
||||
lean_closure_set(x_14, 2, x_2);
|
||||
|
|
@ -1012,7 +1030,7 @@ x_15 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_13, x_14);
|
|||
return x_15;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
|
|
@ -1025,7 +1043,7 @@ lean_inc(x_2);
|
|||
lean_inc(x_1);
|
||||
x_13 = l_Lean_Core_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
lean_inc(x_11);
|
||||
x_14 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__6), 12, 11);
|
||||
x_14 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__7), 12, 11);
|
||||
lean_closure_set(x_14, 0, x_1);
|
||||
lean_closure_set(x_14, 1, x_2);
|
||||
lean_closure_set(x_14, 2, x_3);
|
||||
|
|
@ -1041,7 +1059,7 @@ x_15 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_13, x_14);
|
|||
return x_15;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 10)
|
||||
|
|
@ -1086,7 +1104,7 @@ return x_22;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 11)
|
||||
|
|
@ -1134,7 +1152,7 @@ return x_23;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_8) == 0)
|
||||
|
|
@ -1196,7 +1214,7 @@ lean_inc(x_2);
|
|||
lean_inc(x_1);
|
||||
x_24 = l_Lean_Core_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_22, x_9);
|
||||
lean_inc(x_7);
|
||||
x_25 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__2), 11, 10);
|
||||
x_25 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__3), 11, 10);
|
||||
lean_closure_set(x_25, 0, x_1);
|
||||
lean_closure_set(x_25, 1, x_2);
|
||||
lean_closure_set(x_25, 2, x_3);
|
||||
|
|
@ -1226,7 +1244,7 @@ lean_inc(x_2);
|
|||
lean_inc(x_1);
|
||||
x_29 = l_Lean_Core_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_27, x_9);
|
||||
lean_inc(x_7);
|
||||
x_30 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__4), 11, 10);
|
||||
x_30 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__5), 11, 10);
|
||||
lean_closure_set(x_30, 0, x_1);
|
||||
lean_closure_set(x_30, 1, x_2);
|
||||
lean_closure_set(x_30, 2, x_3);
|
||||
|
|
@ -1258,7 +1276,7 @@ lean_inc(x_2);
|
|||
lean_inc(x_1);
|
||||
x_35 = l_Lean_Core_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_32, x_9);
|
||||
lean_inc(x_7);
|
||||
x_36 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__7), 12, 11);
|
||||
x_36 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__8), 12, 11);
|
||||
lean_closure_set(x_36, 0, x_1);
|
||||
lean_closure_set(x_36, 1, x_2);
|
||||
lean_closure_set(x_36, 2, x_3);
|
||||
|
|
@ -1286,7 +1304,7 @@ lean_inc(x_3);
|
|||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_39 = l_Lean_Core_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_38, x_9);
|
||||
x_40 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__8), 9, 8);
|
||||
x_40 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__9), 9, 8);
|
||||
lean_closure_set(x_40, 0, x_14);
|
||||
lean_closure_set(x_40, 1, x_1);
|
||||
lean_closure_set(x_40, 2, x_2);
|
||||
|
|
@ -1311,7 +1329,7 @@ lean_inc(x_3);
|
|||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_43 = l_Lean_Core_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_42, x_9);
|
||||
x_44 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__9), 9, 8);
|
||||
x_44 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__10), 9, 8);
|
||||
lean_closure_set(x_44, 0, x_14);
|
||||
lean_closure_set(x_44, 1, x_1);
|
||||
lean_closure_set(x_44, 2, x_2);
|
||||
|
|
@ -1334,7 +1352,38 @@ return x_46;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__12(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;
|
||||
x_4 = l_Std_HashMapImp_insert___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__3(x_3, x_1, x_2);
|
||||
x_5 = lean_box(0);
|
||||
x_6 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_5);
|
||||
lean_ctor_set(x_6, 1, x_4);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__12), 3, 2);
|
||||
lean_closure_set(x_7, 0, x_1);
|
||||
lean_closure_set(x_7, 1, x_6);
|
||||
x_8 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2);
|
||||
lean_closure_set(x_8, 0, x_2);
|
||||
lean_closure_set(x_8, 1, x_7);
|
||||
x_9 = lean_apply_2(x_3, lean_box(0), x_8);
|
||||
x_10 = lean_alloc_closure((void*)(l_ReaderT_instMonadReaderT___rarg___lambda__4___boxed), 3, 2);
|
||||
lean_closure_set(x_10, 0, x_4);
|
||||
lean_closure_set(x_10, 1, x_6);
|
||||
x_11 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_9, x_10);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_10) == 0)
|
||||
|
|
@ -1350,7 +1399,7 @@ lean_inc(x_7);
|
|||
lean_inc(x_6);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
x_13 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__10), 9, 7);
|
||||
x_13 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__11), 9, 7);
|
||||
lean_closure_set(x_13, 0, x_3);
|
||||
lean_closure_set(x_13, 1, x_4);
|
||||
lean_closure_set(x_13, 2, x_1);
|
||||
|
|
@ -1370,7 +1419,7 @@ lean_inc(x_3);
|
|||
x_15 = l_Lean_Core_withIncRecDepth___at_Lean_Core_transform_visit___spec__4___rarg(x_3, x_4, x_6, x_14, x_9);
|
||||
lean_dec(x_6);
|
||||
lean_inc(x_8);
|
||||
x_16 = lean_alloc_closure((void*)(l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__8), 6, 5);
|
||||
x_16 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__13), 6, 5);
|
||||
lean_closure_set(x_16, 0, x_2);
|
||||
lean_closure_set(x_16, 1, x_9);
|
||||
lean_closure_set(x_16, 2, x_7);
|
||||
|
|
@ -1419,13 +1468,13 @@ lean_inc(x_6);
|
|||
x_11 = lean_apply_2(x_6, lean_box(0), x_10);
|
||||
lean_inc(x_1);
|
||||
lean_inc(x_7);
|
||||
x_12 = lean_alloc_closure((void*)(l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__1___boxed), 3, 2);
|
||||
x_12 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__1___boxed), 3, 2);
|
||||
lean_closure_set(x_12, 0, x_7);
|
||||
lean_closure_set(x_12, 1, x_1);
|
||||
lean_inc(x_9);
|
||||
x_13 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_11, x_12);
|
||||
lean_inc(x_9);
|
||||
x_14 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__11), 10, 9);
|
||||
x_14 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__14), 10, 9);
|
||||
lean_closure_set(x_14, 0, x_3);
|
||||
lean_closure_set(x_14, 1, x_7);
|
||||
lean_closure_set(x_14, 2, x_1);
|
||||
|
|
@ -1562,6 +1611,16 @@ lean_dec(x_3);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Core_transform_visit___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Core_transform_visit___rarg___lambda__1(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Core_transform___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -3500,7 +3559,7 @@ if (x_12 == 0)
|
|||
lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
x_13 = lean_ctor_get(x_11, 0);
|
||||
x_14 = lean_ctor_get(x_11, 1);
|
||||
x_15 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_13, x_5);
|
||||
x_15 = l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(x_13, x_5);
|
||||
lean_dec(x_13);
|
||||
if (lean_obj_tag(x_15) == 0)
|
||||
{
|
||||
|
|
@ -3533,7 +3592,7 @@ x_22 = lean_ctor_get(x_20, 1);
|
|||
lean_inc(x_22);
|
||||
lean_dec(x_20);
|
||||
lean_inc(x_21);
|
||||
x_23 = lean_alloc_closure((void*)(l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__2), 3, 2);
|
||||
x_23 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__12), 3, 2);
|
||||
lean_closure_set(x_23, 0, x_5);
|
||||
lean_closure_set(x_23, 1, x_21);
|
||||
x_24 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2);
|
||||
|
|
@ -3642,7 +3701,7 @@ x_40 = lean_ctor_get(x_11, 1);
|
|||
lean_inc(x_40);
|
||||
lean_inc(x_39);
|
||||
lean_dec(x_11);
|
||||
x_41 = l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(x_39, x_5);
|
||||
x_41 = l_Std_HashMapImp_find_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit___spec__1(x_39, x_5);
|
||||
lean_dec(x_39);
|
||||
if (lean_obj_tag(x_41) == 0)
|
||||
{
|
||||
|
|
@ -3674,7 +3733,7 @@ x_48 = lean_ctor_get(x_46, 1);
|
|||
lean_inc(x_48);
|
||||
lean_dec(x_46);
|
||||
lean_inc(x_47);
|
||||
x_49 = lean_alloc_closure((void*)(l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__2), 3, 2);
|
||||
x_49 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__12), 3, 2);
|
||||
lean_closure_set(x_49, 0, x_5);
|
||||
lean_closure_set(x_49, 1, x_47);
|
||||
x_50 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2);
|
||||
|
|
@ -4775,7 +4834,7 @@ lean_inc(x_3);
|
|||
x_16 = l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__4___rarg(x_3, x_5, x_7, lean_box(0), x_15, x_10);
|
||||
lean_dec(x_7);
|
||||
lean_inc(x_9);
|
||||
x_17 = lean_alloc_closure((void*)(l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__8), 6, 5);
|
||||
x_17 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__13), 6, 5);
|
||||
lean_closure_set(x_17, 0, x_2);
|
||||
lean_closure_set(x_17, 1, x_10);
|
||||
lean_closure_set(x_17, 2, x_8);
|
||||
|
|
@ -4825,7 +4884,7 @@ lean_inc(x_7);
|
|||
x_12 = lean_apply_2(x_7, lean_box(0), x_11);
|
||||
lean_inc(x_1);
|
||||
lean_inc(x_8);
|
||||
x_13 = lean_alloc_closure((void*)(l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__1___boxed), 3, 2);
|
||||
x_13 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__1___boxed), 3, 2);
|
||||
lean_closure_set(x_13, 0, x_8);
|
||||
lean_closure_set(x_13, 1, x_1);
|
||||
lean_inc(x_10);
|
||||
|
|
|
|||
843
stage0/stdlib/Lean/MetavarContext.c
generated
843
stage0/stdlib/Lean/MetavarContext.c
generated
File diff suppressed because it is too large
Load diff
4
stage0/stdlib/Lean/MonadEnv.c
generated
4
stage0/stdlib/Lean/MonadEnv.c
generated
|
|
@ -108,7 +108,7 @@ lean_object* l_Lean_matchConstStruct_match__1___rarg(lean_object*, lean_object*,
|
|||
lean_object* l_Lean_getConstInfoInduct(lean_object*);
|
||||
lean_object* l_List_foldlM___at___private_Lean_MonadEnv_0__Lean_checkUnsupported___spec__4___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*);
|
||||
lean_object* lean_name_append_index_after(lean_object*, lean_object*);
|
||||
lean_object* l_List_foldlM___at___private_Lean_MonadEnv_0__Lean_checkUnsupported___spec__4___rarg___boxed__const__1;
|
||||
lean_object* l_Lean_addDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__16;
|
||||
|
|
@ -1359,7 +1359,7 @@ _start:
|
|||
lean_object* x_4; uint8_t x_5;
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_4 = l_Lean_Name_appendIndexAfter(x_2, x_3);
|
||||
x_4 = lean_name_append_index_after(x_2, x_3);
|
||||
lean_inc(x_1);
|
||||
x_5 = l_Lean_Environment_contains(x_1, x_4);
|
||||
if (x_5 == 0)
|
||||
|
|
|
|||
22
stage0/stdlib/Lean/Parser/Attr.c
generated
22
stage0/stdlib/Lean/Parser/Attr.c
generated
|
|
@ -214,6 +214,7 @@ lean_object* l_Lean_Parser_Attr_instance___elambda__1___closed__3;
|
|||
lean_object* l_Lean_Parser_Attr_export___closed__2;
|
||||
lean_object* l_Lean_Parser_Attr_instance___closed__2;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Attr_class_parenthesizer(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
lean_object* l_Lean_Parser_Attr_instance_parenthesizer___closed__2;
|
||||
lean_object* l_Lean_Parser_Attr_extern_parenthesizer___closed__6;
|
||||
lean_object* l_Lean_Parser_Attr_class___elambda__1___closed__6;
|
||||
|
|
@ -233,8 +234,8 @@ lean_object* l_Lean_Parser_Attr_simple___elambda__1___closed__14;
|
|||
lean_object* l___regBuiltin_Lean_Parser_Priority_numPrio_formatter___closed__1;
|
||||
extern lean_object* l_Lean_Attribute_Builtin_getId___closed__3;
|
||||
lean_object* l_Lean_Parser_Attr_externEntry___elambda__1___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__15;
|
||||
lean_object* l_Lean_Parser_Priority_numPrio___elambda__1(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
lean_object* l_Lean_Parser_Attr_simple___closed__4;
|
||||
lean_object* l_Lean_Parser_Attr_defaultInstance___closed__1;
|
||||
extern lean_object* l_Lean_Parser_antiquotNestedExpr___closed__7;
|
||||
|
|
@ -365,7 +366,6 @@ lean_object* l___regBuiltin_Lean_Parser_Attr_macro_formatter___closed__1;
|
|||
lean_object* l_Lean_Parser_Attr_export_formatter___closed__3;
|
||||
lean_object* l_Lean_Parser_Attr_instance___elambda__1___closed__6;
|
||||
extern lean_object* l_Lean_Parser_tokenWithAntiquotFn___lambda__2___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
lean_object* l_Lean_Parser_Priority_numPrio;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Attr_extern_parenthesizer(lean_object*);
|
||||
lean_object* l_Lean_Parser_Attr_export___elambda__1___closed__6;
|
||||
|
|
@ -3187,7 +3187,7 @@ static lean_object* _init_l_Lean_Parser_Attr_class___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_NotationExtra___hyg_5711____closed__15;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
x_2 = l_Lean_Parser_Attr_class___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
|
|
@ -3198,7 +3198,7 @@ static lean_object* _init_l_Lean_Parser_Attr_class___elambda__1___closed__3() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__15;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
x_2 = l_String_trim(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -3506,7 +3506,7 @@ static lean_object* _init_l_Lean_Parser_Attr_class_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_NotationExtra___hyg_5711____closed__15;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
x_2 = l_Lean_Parser_Attr_class___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -3521,7 +3521,7 @@ static lean_object* _init_l_Lean_Parser_Attr_class_formatter___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__15;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -3631,7 +3631,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Attr_simp___closed__2;
|
||||
x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -3650,7 +3650,7 @@ static lean_object* _init_l_Lean_Parser_Attr_instance___elambda__1___closed__3()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
x_2 = l_Lean_Parser_Attr_instance___elambda__1___closed__2;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
|
|
@ -3670,7 +3670,7 @@ static lean_object* _init_l_Lean_Parser_Attr_instance___elambda__1___closed__5()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
x_2 = l_String_trim(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -4014,7 +4014,7 @@ static lean_object* _init_l_Lean_Parser_Attr_instance_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_NotationExtra___hyg_5711____closed__21;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
x_2 = l_Lean_Parser_Attr_instance___elambda__1___closed__2;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -4029,7 +4029,7 @@ static lean_object* _init_l_Lean_Parser_Attr_instance_formatter___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
|
|||
122
stage0/stdlib/Lean/Parser/Command.c
generated
122
stage0/stdlib/Lean/Parser/Command.c
generated
|
|
@ -40,6 +40,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_in(lean_object*);
|
|||
lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__20;
|
||||
lean_object* l_Lean_Parser_Command_classTk___elambda__1___closed__7;
|
||||
lean_object* l_Lean_Parser_Command_classInductive___elambda__1___closed__14;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__10;
|
||||
lean_object* l_Lean_Parser_Command_structure___elambda__1___closed__3;
|
||||
lean_object* l_Lean_Parser_Command_structInstBinder___closed__10;
|
||||
lean_object* l_Lean_Parser_Command_ctor___elambda__1___closed__1;
|
||||
|
|
@ -194,6 +195,7 @@ lean_object* l_Lean_Parser_Tactic_open___closed__5;
|
|||
lean_object* l_Lean_Parser_Command_optDeriving_parenthesizer___closed__6;
|
||||
lean_object* l_Lean_Parser_Command_ctor___elambda__1___closed__17;
|
||||
lean_object* l_Lean_Parser_Command_print___elambda__1___closed__8;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__24;
|
||||
lean_object* l_Lean_Parser_Command_example___closed__3;
|
||||
lean_object* l_Lean_Parser_Command_ctor___closed__6;
|
||||
lean_object* l_Lean_Parser_Command_theorem_formatter___closed__7;
|
||||
|
|
@ -708,7 +710,6 @@ lean_object* l_Lean_Parser_Command_theorem___elambda__1___closed__4;
|
|||
lean_object* l_Lean_Parser_Command_openSimple;
|
||||
lean_object* l___regBuiltinParser_Lean_Parser_Command_deriving(lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_openRenamingItem___elambda__1___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__26;
|
||||
lean_object* l_Lean_Parser_Command_declaration___elambda__1___closed__8;
|
||||
lean_object* l_Lean_Parser_Term_quot_formatter___closed__8;
|
||||
lean_object* l_Lean_Parser_Command_classTk_parenthesizer___closed__1;
|
||||
|
|
@ -1305,6 +1306,7 @@ lean_object* l_Lean_Parser_Command_protected___elambda__1___closed__3;
|
|||
lean_object* l_Lean_Parser_Command_structFields___elambda__1___closed__2;
|
||||
extern lean_object* l_Lean_Parser_Term_whereDecls___closed__7;
|
||||
lean_object* l_Lean_Parser_Command_print___closed__3;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
lean_object* l_Lean_Parser_Command_openSimple_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_declModifiers_formatter___closed__16;
|
||||
lean_object* l_Lean_Parser_Term_precheckedQuot___elambda__1___closed__7;
|
||||
|
|
@ -1424,13 +1426,13 @@ lean_object* l_Lean_Parser_Command_attribute_formatter___closed__9;
|
|||
lean_object* l_Lean_Parser_Command_variable_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_optDeriving___elambda__1___closed__11;
|
||||
lean_object* l_Lean_Parser_Command_theorem_formatter___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__15;
|
||||
lean_object* l_Lean_Parser_Command_classInductive_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_inferMod___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_axiom_parenthesizer___closed__4;
|
||||
extern lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_formatter___closed__6;
|
||||
lean_object* l_Lean_Parser_Command_optDeriving___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Parser_Command_check_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
lean_object* l_Lean_Parser_Command_end___closed__3;
|
||||
lean_object* l_Lean_Parser_Command_structImplicitBinder___elambda__1___closed__10;
|
||||
lean_object* l_Lean_Parser_Command_structFields___elambda__1___closed__11;
|
||||
|
|
@ -2214,7 +2216,6 @@ extern lean_object* l_Lean_Parser_mkAntiquotSplice___closed__6;
|
|||
lean_object* l_Lean_Parser_Command_inductive_parenthesizer___closed__7;
|
||||
lean_object* l_Lean_Parser_Command_extends_formatter___closed__3;
|
||||
lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__11;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
lean_object* l_Lean_Parser_Command_structSimpleBinder_parenthesizer___closed__6;
|
||||
lean_object* l_Lean_Parser_Command_section___elambda__1___closed__14;
|
||||
lean_object* l_Lean_Parser_Command_structImplicitBinder;
|
||||
|
|
@ -2758,7 +2759,6 @@ lean_object* l_Lean_Parser_Command_init__quot___elambda__1___closed__6;
|
|||
lean_object* l___regBuiltinParser_Lean_Parser_Command_mutual(lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_declModifiers___closed__26;
|
||||
lean_object* l_Lean_Parser_Command_attribute___elambda__1___closed__17;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__19;
|
||||
lean_object* l_Lean_Parser_Command_constant___elambda__1___closed__14;
|
||||
lean_object* l_Lean_Parser_Command_universe___elambda__1___closed__11;
|
||||
lean_object* l_Lean_Parser_Term_set__option___elambda__1___closed__5;
|
||||
|
|
@ -7536,7 +7536,7 @@ static lean_object* _init_l_Lean_Parser_Command_declSig___elambda__1___closed__1
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__26;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__25;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -7546,7 +7546,7 @@ static lean_object* _init_l_Lean_Parser_Command_declSig___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_NotationExtra___hyg_5711____closed__25;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__24;
|
||||
x_2 = l_Lean_Parser_Command_declSig___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
|
|
@ -7571,7 +7571,7 @@ static lean_object* _init_l_Lean_Parser_Command_declSig___elambda__1___closed__4
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__26;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__25;
|
||||
x_2 = l_Lean_Parser_Command_declSig___elambda__1___closed__3;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -7649,7 +7649,7 @@ lean_dec(x_16);
|
|||
if (x_17 == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21;
|
||||
x_18 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__26;
|
||||
x_18 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__25;
|
||||
x_19 = l_Lean_Parser_ParserState_mkNode(x_15, x_18, x_14);
|
||||
x_20 = lean_ctor_get(x_19, 4);
|
||||
lean_inc(x_20);
|
||||
|
|
@ -7673,7 +7673,7 @@ else
|
|||
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27;
|
||||
lean_inc(x_1);
|
||||
x_23 = l_Lean_Parser_Term_typeSpec___elambda__1(x_1, x_15);
|
||||
x_24 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__26;
|
||||
x_24 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__25;
|
||||
x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_14);
|
||||
x_26 = lean_ctor_get(x_25, 4);
|
||||
lean_inc(x_26);
|
||||
|
|
@ -7723,7 +7723,7 @@ static lean_object* _init_l_Lean_Parser_Command_declSig___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__26;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__25;
|
||||
x_2 = l_Lean_Parser_Command_declSig___closed__1;
|
||||
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -10623,7 +10623,7 @@ static lean_object* _init_l_Lean_Parser_Command_instance___elambda__1___closed__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -10633,7 +10633,7 @@ static lean_object* _init_l_Lean_Parser_Command_instance___elambda__1___closed__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
x_2 = l_Lean_Parser_Command_instance___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
|
|
@ -10742,7 +10742,7 @@ static lean_object* _init_l_Lean_Parser_Command_instance___elambda__1___closed__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_2 = l_Lean_Parser_Command_instance___elambda__1___closed__11;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -10846,7 +10846,7 @@ if (x_19 == 0)
|
|||
lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_4);
|
||||
x_27 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
x_27 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_28 = l_Lean_Parser_ParserState_mkNode(x_17, x_27, x_16);
|
||||
x_29 = lean_ctor_get(x_28, 4);
|
||||
lean_inc(x_29);
|
||||
|
|
@ -10977,7 +10977,7 @@ goto block_26;
|
|||
block_26:
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24;
|
||||
x_21 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
x_21 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_22 = l_Lean_Parser_ParserState_mkNode(x_20, x_21, x_16);
|
||||
x_23 = lean_ctor_get(x_22, 4);
|
||||
lean_inc(x_23);
|
||||
|
|
@ -11069,7 +11069,7 @@ static lean_object* _init_l_Lean_Parser_Command_instance___closed__6() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_2 = l_Lean_Parser_Command_instance___closed__5;
|
||||
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -12698,7 +12698,7 @@ static lean_object* _init_l_Lean_Parser_Command_optDeriving___elambda__1___close
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__19;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__18;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -12708,7 +12708,7 @@ static lean_object* _init_l_Lean_Parser_Command_optDeriving___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_NotationExtra___hyg_5711____closed__18;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__17;
|
||||
x_2 = l_Lean_Parser_Command_optDeriving___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
|
|
@ -12720,7 +12720,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Attr_instance___elambda__1___closed__7;
|
||||
x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_notFollowedByFn___boxed), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
|
|
@ -12859,7 +12859,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
|||
x_1 = l_Lean_Parser_Command_optDeriving___elambda__1___closed__15;
|
||||
x_2 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_2);
|
||||
x_3 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__19;
|
||||
x_3 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__18;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_4, 0, x_3);
|
||||
lean_closure_set(x_4, 1, x_2);
|
||||
|
|
@ -12929,7 +12929,7 @@ x_14 = lean_array_get_size(x_13);
|
|||
lean_dec(x_13);
|
||||
lean_inc(x_1);
|
||||
x_15 = lean_apply_2(x_4, x_1, x_9);
|
||||
x_16 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__19;
|
||||
x_16 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__18;
|
||||
x_17 = l_Lean_Parser_ParserState_mkNode(x_15, x_16, x_14);
|
||||
x_18 = lean_ctor_get(x_17, 4);
|
||||
lean_inc(x_18);
|
||||
|
|
@ -12967,7 +12967,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
|||
x_1 = l_Lean_Parser_Command_optDeriving___elambda__1___closed__15;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
x_3 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__19;
|
||||
x_3 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__18;
|
||||
x_4 = l_Lean_Parser_nodeInfo(x_3, x_2);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -17213,7 +17213,7 @@ static lean_object* _init_l_Lean_Parser_Command_classTk___elambda__1___closed__1
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__13;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -17223,7 +17223,7 @@ static lean_object* _init_l_Lean_Parser_Command_classTk___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_NotationExtra___hyg_5711____closed__13;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__12;
|
||||
x_2 = l_Lean_Parser_Command_classTk___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
|
|
@ -17234,7 +17234,7 @@ static lean_object* _init_l_Lean_Parser_Command_classTk___elambda__1___closed__3
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__13;
|
||||
x_2 = l_Lean_Parser_Command_classInductive___elambda__1___closed__7;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -17330,7 +17330,7 @@ lean_dec(x_16);
|
|||
if (x_17 == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21;
|
||||
x_18 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
x_18 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__13;
|
||||
x_19 = l_Lean_Parser_ParserState_mkNode(x_15, x_18, x_12);
|
||||
x_20 = lean_ctor_get(x_19, 4);
|
||||
lean_inc(x_20);
|
||||
|
|
@ -17363,7 +17363,7 @@ lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean
|
|||
x_26 = lean_box(0);
|
||||
lean_inc(x_1);
|
||||
x_27 = l_Lean_Parser_Level_paren___elambda__1___lambda__1(x_15, x_1, x_9, x_26);
|
||||
x_28 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
x_28 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__13;
|
||||
x_29 = l_Lean_Parser_ParserState_mkNode(x_27, x_28, x_12);
|
||||
x_30 = lean_ctor_get(x_29, 4);
|
||||
lean_inc(x_30);
|
||||
|
|
@ -17385,7 +17385,7 @@ return x_32;
|
|||
else
|
||||
{
|
||||
lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36;
|
||||
x_33 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
x_33 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__13;
|
||||
x_34 = l_Lean_Parser_ParserState_mkNode(x_15, x_33, x_12);
|
||||
x_35 = lean_ctor_get(x_34, 4);
|
||||
lean_inc(x_35);
|
||||
|
|
@ -17421,7 +17421,7 @@ static lean_object* _init_l_Lean_Parser_Command_classTk___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__13;
|
||||
x_2 = l_Lean_Parser_Command_classInductive___closed__1;
|
||||
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -17491,7 +17491,7 @@ static lean_object* _init_l_Lean_Parser_Command_extends___elambda__1___closed__1
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__17;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__16;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -17501,7 +17501,7 @@ static lean_object* _init_l_Lean_Parser_Command_extends___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_NotationExtra___hyg_5711____closed__16;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__15;
|
||||
x_2 = l_Lean_Parser_Command_extends___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
|
|
@ -17563,7 +17563,7 @@ static lean_object* _init_l_Lean_Parser_Command_extends___elambda__1___closed__8
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__17;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__16;
|
||||
x_2 = l_Lean_Parser_Command_extends___elambda__1___closed__7;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -17699,7 +17699,7 @@ if (x_22 == 0)
|
|||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26;
|
||||
lean_dec(x_4);
|
||||
x_23 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__17;
|
||||
x_23 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__16;
|
||||
x_24 = l_Lean_Parser_ParserState_mkNode(x_20, x_23, x_14);
|
||||
x_25 = lean_ctor_get(x_24, 4);
|
||||
lean_inc(x_25);
|
||||
|
|
@ -17723,7 +17723,7 @@ else
|
|||
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32;
|
||||
lean_inc(x_1);
|
||||
x_28 = lean_apply_2(x_4, x_1, x_20);
|
||||
x_29 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__17;
|
||||
x_29 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__16;
|
||||
x_30 = l_Lean_Parser_ParserState_mkNode(x_28, x_29, x_14);
|
||||
x_31 = lean_ctor_get(x_30, 4);
|
||||
lean_inc(x_31);
|
||||
|
|
@ -17781,7 +17781,7 @@ static lean_object* _init_l_Lean_Parser_Command_extends___closed__3() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__17;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__16;
|
||||
x_2 = l_Lean_Parser_Command_extends___closed__2;
|
||||
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -17851,7 +17851,7 @@ static lean_object* _init_l_Lean_Parser_Command_structure___elambda__1___closed_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__12;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__11;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -17861,7 +17861,7 @@ static lean_object* _init_l_Lean_Parser_Command_structure___elambda__1___closed_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__11;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__10;
|
||||
x_2 = l_Lean_Parser_Command_structure___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
|
|
@ -18122,7 +18122,7 @@ static lean_object* _init_l_Lean_Parser_Command_structure___elambda__1___closed_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__12;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__11;
|
||||
x_2 = l_Lean_Parser_Command_structure___elambda__1___closed__24;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -18317,7 +18317,7 @@ goto block_33;
|
|||
block_33:
|
||||
{
|
||||
lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31;
|
||||
x_28 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__12;
|
||||
x_28 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__11;
|
||||
x_29 = l_Lean_Parser_ParserState_mkNode(x_27, x_28, x_20);
|
||||
x_30 = lean_ctor_get(x_29, 4);
|
||||
lean_inc(x_30);
|
||||
|
|
@ -18442,7 +18442,7 @@ static lean_object* _init_l_Lean_Parser_Command_structure___closed__8() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__12;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__11;
|
||||
x_2 = l_Lean_Parser_Command_structure___closed__7;
|
||||
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -20042,7 +20042,7 @@ static lean_object* _init_l_Lean_Parser_Command_declSig_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_NotationExtra___hyg_5711____closed__25;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__24;
|
||||
x_2 = l_Lean_Parser_Command_declSig___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -20069,7 +20069,7 @@ static lean_object* _init_l_Lean_Parser_Command_declSig_formatter___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_NotationExtra___hyg_5711____closed__26;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__25;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Command_declSig_formatter___closed__2;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3);
|
||||
|
|
@ -20408,7 +20408,7 @@ static lean_object* _init_l_Lean_Parser_Command_instance_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_NotationExtra___hyg_5711____closed__21;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
x_2 = l_Lean_Parser_Command_instance___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -20499,7 +20499,7 @@ static lean_object* _init_l_Lean_Parser_Command_instance_formatter___closed__9()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Command_instance_formatter___closed__8;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3);
|
||||
|
|
@ -20832,7 +20832,7 @@ static lean_object* _init_l_Lean_Parser_Command_optDeriving_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_NotationExtra___hyg_5711____closed__18;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__17;
|
||||
x_2 = l_Lean_Parser_Command_optDeriving___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -20857,7 +20857,7 @@ static lean_object* _init_l_Lean_Parser_Command_optDeriving_formatter___closed__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_notSymbol_formatter___boxed), 5, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -20911,7 +20911,7 @@ static lean_object* _init_l_Lean_Parser_Command_optDeriving_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_NotationExtra___hyg_5711____closed__19;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__18;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Command_optDeriving_formatter___closed__7;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3);
|
||||
|
|
@ -21244,7 +21244,7 @@ static lean_object* _init_l_Lean_Parser_Command_classTk_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_NotationExtra___hyg_5711____closed__13;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__12;
|
||||
x_2 = l_Lean_Parser_Command_classTk___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -21259,7 +21259,7 @@ static lean_object* _init_l_Lean_Parser_Command_classTk_formatter___closed__2()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__14;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__13;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Command_classInductive_formatter___closed__2;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3);
|
||||
|
|
@ -21283,7 +21283,7 @@ static lean_object* _init_l_Lean_Parser_Command_extends_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_NotationExtra___hyg_5711____closed__16;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__15;
|
||||
x_2 = l_Lean_Parser_Command_extends___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -21320,7 +21320,7 @@ static lean_object* _init_l_Lean_Parser_Command_extends_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_NotationExtra___hyg_5711____closed__17;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__16;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Command_extends_formatter___closed__3;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3);
|
||||
|
|
@ -22036,7 +22036,7 @@ static lean_object* _init_l_Lean_Parser_Command_structure_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_NotationExtra___hyg_5711____closed__11;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__10;
|
||||
x_2 = l_Lean_Parser_Command_structure___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -22261,7 +22261,7 @@ static lean_object* _init_l_Lean_Parser_Command_structure_formatter___closed__22
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__12;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__11;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Command_structure_formatter___closed__21;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3);
|
||||
|
|
@ -23495,7 +23495,7 @@ static lean_object* _init_l_Lean_Parser_Command_declSig_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_NotationExtra___hyg_5711____closed__26;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__25;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Command_declSig_parenthesizer___closed__2;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3);
|
||||
|
|
@ -23852,7 +23852,7 @@ static lean_object* _init_l_Lean_Parser_Command_instance_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_NotationExtra___hyg_5711____closed__22;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Command_instance_parenthesizer___closed__7;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3);
|
||||
|
|
@ -24150,7 +24150,7 @@ static lean_object* _init_l_Lean_Parser_Command_optDeriving_parenthesizer___clos
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__20;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_notSymbol_parenthesizer___boxed), 5, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -24204,7 +24204,7 @@ static lean_object* _init_l_Lean_Parser_Command_optDeriving_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_NotationExtra___hyg_5711____closed__19;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__18;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Command_optDeriving_parenthesizer___closed__6;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3);
|
||||
|
|
@ -24480,7 +24480,7 @@ static lean_object* _init_l_Lean_Parser_Command_classTk_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_NotationExtra___hyg_5711____closed__14;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__13;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__1;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3);
|
||||
|
|
@ -24517,7 +24517,7 @@ static lean_object* _init_l_Lean_Parser_Command_extends_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_NotationExtra___hyg_5711____closed__17;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__16;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Term_tupleTail_parenthesizer___closed__3;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3);
|
||||
|
|
@ -25320,7 +25320,7 @@ static lean_object* _init_l_Lean_Parser_Command_structure_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_NotationExtra___hyg_5711____closed__12;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__11;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Command_structure_parenthesizer___closed__19;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3);
|
||||
|
|
@ -43829,7 +43829,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_NotationExtra___hyg_5711____closed__25;
|
||||
x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__24;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/Parser/Tactic.c
generated
12
stage0/stdlib/Lean/Parser/Tactic.c
generated
|
|
@ -277,7 +277,6 @@ lean_object* l___regBuiltin_Lean_Parser_Tactic_unknown_parenthesizer___closed__1
|
|||
lean_object* l_Lean_Parser_Tactic_eraseAuxDiscrs_formatter___closed__3;
|
||||
lean_object* l_Lean_Parser_Tactic_decide___elambda__1___closed__4;
|
||||
lean_object* l_Lean_Parser_Tactic_match_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__24;
|
||||
lean_object* l_Lean_Parser_Tactic_decide;
|
||||
lean_object* l_Lean_Parser_Tactic_introMatch___elambda__1___closed__12;
|
||||
extern lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__10;
|
||||
|
|
@ -299,6 +298,7 @@ lean_object* l_Lean_Parser_Tactic_introMatch_formatter___closed__4;
|
|||
extern lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__3;
|
||||
lean_object* l_Lean_Parser_Tactic_decide_formatter___closed__3;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Tactic_decide_formatter(lean_object*);
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__24;
|
||||
extern lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__6;
|
||||
lean_object* l_Lean_Parser_Tactic_nestedTactic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Tactic_decide___elambda__1___closed__1;
|
||||
|
|
@ -3494,7 +3494,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Tactic_intro___closed__2;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__24;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__24;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -3513,7 +3513,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_decide___elambda__1___closed__3()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__24;
|
||||
x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__24;
|
||||
x_2 = l_Lean_Parser_Tactic_decide___elambda__1___closed__2;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
|
|
@ -3524,7 +3524,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_decide___elambda__1___closed__4()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__24;
|
||||
x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__24;
|
||||
x_2 = l_String_trim(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -3833,7 +3833,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_decide_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___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__24;
|
||||
x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__24;
|
||||
x_2 = l_Lean_Parser_Tactic_decide___elambda__1___closed__2;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -3848,7 +3848,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_decide_formatter___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__24;
|
||||
x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__24;
|
||||
x_2 = 0;
|
||||
x_3 = lean_box(x_2);
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_formatter___boxed), 7, 2);
|
||||
|
|
|
|||
30
stage0/stdlib/Lean/Parser/Term.c
generated
30
stage0/stdlib/Lean/Parser/Term.c
generated
|
|
@ -982,6 +982,7 @@ lean_object* l_Lean_Parser_Term_structInstArrayRef_parenthesizer(lean_object*, l
|
|||
lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_hole_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Term_forall___closed__7;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__26;
|
||||
lean_object* l_Lean_Parser_Term_prop_parenthesizer___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_letEqnsDecl___closed__6;
|
||||
lean_object* l___regBuiltinParser_Lean_Parser_Term_ident(lean_object*);
|
||||
|
|
@ -1931,7 +1932,6 @@ extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrin
|
|||
lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__11;
|
||||
lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1___closed__9;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
lean_object* l_Lean_Parser_Term_show___closed__4;
|
||||
lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__15;
|
||||
lean_object* l_Lean_Parser_Term_have_parenthesizer___closed__2;
|
||||
|
|
@ -2515,7 +2515,6 @@ lean_object* l_Lean_Parser_Term_letPatDecl_formatter___closed__3;
|
|||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1354____closed__25;
|
||||
lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_namedArgument___closed__2;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__20;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_bracketedBinder_quot_formatter___closed__1;
|
||||
lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__5;
|
||||
lean_object* l_Lean_Parser_Term_bracketedBinder_quot___closed__2;
|
||||
|
|
@ -2853,6 +2852,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_let__delayed_formatter___closed__1;
|
|||
lean_object* l_Lean_Parser_Term_let__fun___elambda__1___closed__12;
|
||||
lean_object* l_Lean_Parser_Term_macroDollarArg_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__1;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__20;
|
||||
lean_object* l_Lean_Parser_Term_let_formatter___closed__4;
|
||||
lean_object* l_Lean_Parser_Term_funSimpleBinder___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_depArrow_parenthesizer___closed__1;
|
||||
|
|
@ -24693,7 +24693,7 @@ static lean_object* _init_l_Lean_Parser_Term_explicit___elambda__1___closed__1()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -24703,7 +24703,7 @@ static lean_object* _init_l_Lean_Parser_Term_explicit___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_NotationExtra___hyg_5711____closed__27;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__26;
|
||||
x_2 = l_Lean_Parser_Term_explicit___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
|
|
@ -24767,7 +24767,7 @@ static lean_object* _init_l_Lean_Parser_Term_explicit___elambda__1___closed__8()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_2 = l_Lean_Parser_Term_explicit___elambda__1___closed__7;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -24898,7 +24898,7 @@ lean_dec(x_19);
|
|||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24;
|
||||
x_21 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_21 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_22 = l_Lean_Parser_ParserState_mkNode(x_18, x_21, x_12);
|
||||
x_23 = lean_ctor_get(x_22, 4);
|
||||
lean_inc(x_23);
|
||||
|
|
@ -24924,7 +24924,7 @@ x_26 = l_term___u2218_____closed__6;
|
|||
x_27 = l_Lean_Parser_maxPrec;
|
||||
lean_inc(x_1);
|
||||
x_28 = l_Lean_Parser_categoryParser___elambda__1(x_26, x_27, x_1, x_18);
|
||||
x_29 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_29 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_30 = l_Lean_Parser_ParserState_mkNode(x_28, x_29, x_12);
|
||||
x_31 = lean_ctor_get(x_30, 4);
|
||||
lean_inc(x_31);
|
||||
|
|
@ -24991,7 +24991,7 @@ static lean_object* _init_l_Lean_Parser_Term_explicit___closed__4() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_2 = l_Lean_Parser_Term_explicit___closed__3;
|
||||
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -25062,7 +25062,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_term___u2218_____closed__6;
|
||||
x_3 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_3 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_Term_explicit;
|
||||
x_6 = lean_unsigned_to_nat(1000u);
|
||||
|
|
@ -25074,7 +25074,7 @@ static lean_object* _init_l_Lean_Parser_Term_explicit_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_NotationExtra___hyg_5711____closed__27;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__26;
|
||||
x_2 = l_Lean_Parser_Term_explicit___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -25111,7 +25111,7 @@ static lean_object* _init_l_Lean_Parser_Term_explicit_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_NotationExtra___hyg_5711____closed__28;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Term_explicit_formatter___closed__3;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3);
|
||||
|
|
@ -25144,7 +25144,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_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_3 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_4 = l___regBuiltin_Lean_Parser_Term_explicit_formatter___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
|
|
@ -25189,7 +25189,7 @@ static lean_object* _init_l_Lean_Parser_Term_explicit_parenthesizer___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_NotationExtra___hyg_5711____closed__28;
|
||||
x_1 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Term_explicit_parenthesizer___closed__3;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3);
|
||||
|
|
@ -25222,7 +25222,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_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_3 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_4 = l___regBuiltin_Lean_Parser_Term_explicit_parenthesizer___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
|
|
@ -57049,7 +57049,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_2278____closed__2;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__20;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__20;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -201,7 +201,6 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_getUnusedName(lean_object*, lean_o
|
|||
lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__3(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_descend___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1354____closed__25;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__20;
|
||||
extern lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__6;
|
||||
lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_210____closed__3;
|
||||
uint8_t l_Lean_getPPStructureInstances(lean_object*);
|
||||
|
|
@ -233,6 +232,7 @@ lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_152
|
|||
lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__11;
|
||||
lean_object* l_Lean_PrettyPrinter_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Expr_ctorName___closed__9;
|
||||
extern lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__20;
|
||||
uint8_t l_Lean_getPPNotation(lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind_match__3(lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2918,7 +2918,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6463____closed__20;
|
||||
x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_6466____closed__20;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -352,7 +352,6 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1(lean_
|
|||
lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns_usingNamesAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__1;
|
||||
lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabIte(lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_delabMVar_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__1;
|
||||
|
|
@ -491,6 +490,7 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_delabBVar___closed__2;
|
|||
lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_whenNotPPOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBody___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
uint8_t l_Lean_Expr_isAutoParam(lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_match__2(lean_object*);
|
||||
uint8_t l_Lean_Expr_isLambda(lean_object*);
|
||||
|
|
@ -4402,7 +4402,7 @@ lean_ctor_set(x_26, 1, x_25);
|
|||
x_27 = l_Array_empty___closed__1;
|
||||
x_28 = lean_array_push(x_27, x_26);
|
||||
x_29 = lean_array_push(x_28, x_2);
|
||||
x_30 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__28;
|
||||
x_30 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__27;
|
||||
x_31 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_30);
|
||||
lean_ctor_set(x_31, 1, x_29);
|
||||
|
|
|
|||
193
stage0/stdlib/Lean/Server/FileWorker.c
generated
193
stage0/stdlib/Lean/Server/FileWorker.c
generated
|
|
@ -47,6 +47,7 @@ lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__4___closed__2;
|
|||
lean_object* l_Lean_Server_FileWorker_handleRequest_match__2(lean_object*);
|
||||
lean_object* lean_io_prim_handle_get_line(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonDidOpenTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_92_(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__24;
|
||||
lean_object* l_Lean_Server_FileWorker_handleHover___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Server_FileWorker_publishMessages___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Syntax_mkAntiquotNode___closed__12;
|
||||
|
|
@ -271,7 +272,6 @@ lean_object* l_Lean_Server_FileWorker_handleRequest___lambda__5(lean_object*, le
|
|||
lean_object* l_Lean_Server_FileWorker_compileHeader___closed__2;
|
||||
lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBNode_setBlack___rarg(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__25;
|
||||
lean_object* l_Lean_Server_FileWorker_leanpkgSetupSearchPath___closed__4;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleRequest___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -571,7 +571,6 @@ lean_object* l_Lean_Server_FileWorker_leanpkgSetupSearchPath(lean_object*, lean_
|
|||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_server_worker_main(lean_object*);
|
||||
lean_object* l_List_forIn_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
lean_object* l_Lean_Server_FileWorker_handleHover_match__1(lean_object*);
|
||||
lean_object* l_Lean_Server_FileWorker_queueRequest(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Server_FileWorker_compileHeader_match__2(lean_object*);
|
||||
|
|
@ -613,6 +612,7 @@ lean_object* l_IO_AsyncList_unfoldAsync_step___at_Lean_Server_FileWorker_unfoldC
|
|||
lean_object* l_Lean_Server_FileWorker_initAndRunWorker___closed__3;
|
||||
lean_object* l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Server_FileWorker_publishMessages___spec__2___boxed__const__1;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
lean_object* l_Lean_Server_FileWorker_workerMain_match__1(lean_object*);
|
||||
lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Server_FileWorker_withWaitFindSnap___rarg___lambda__1___closed__1;
|
||||
|
|
@ -621,7 +621,7 @@ lean_object* lean_panic_fn(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_addSearchPathFromEnv(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1354____closed__3;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_get_stdout(lean_object*);
|
||||
lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
lean_object* l_Lean_Server_FileWorker_updateDocument(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -728,7 +728,7 @@ lean_object* l_Lean_Server_FileWorker_handleSemanticTokens(lean_object*, lean_ob
|
|||
lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Server_FileWorker_updatePendingRequests(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_instInhabitedPosition___closed__1;
|
||||
lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleRequest___spec__17(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__4(lean_object*);
|
||||
lean_object* l_Lean_Server_FileWorker_handleHover_match__3(lean_object*);
|
||||
|
|
@ -760,7 +760,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoa
|
|||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8___closed__1;
|
||||
uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*);
|
||||
uint8_t l_Lean_Server_FileWorker_handleSemanticTokens___lambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Server_FileWorker_workerMain___closed__1;
|
||||
extern lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__13;
|
||||
lean_object* l_Lean_Server_FileWorker_withWaitFindSnap_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -21517,7 +21517,7 @@ _start:
|
|||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_7 = lean_unsigned_to_nat(4u);
|
||||
x_8 = l_Lean_Syntax_getArg(x_1, x_7);
|
||||
x_9 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__25;
|
||||
x_9 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__24;
|
||||
lean_inc(x_2);
|
||||
x_10 = lean_name_mk_string(x_2, x_9);
|
||||
lean_inc(x_8);
|
||||
|
|
@ -22812,7 +22812,7 @@ else
|
|||
lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119;
|
||||
x_116 = lean_unsigned_to_nat(1u);
|
||||
x_117 = l_Lean_Syntax_getArg(x_4, x_116);
|
||||
x_118 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
x_118 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
lean_inc(x_117);
|
||||
x_119 = l_Lean_Syntax_isOfKind(x_117, x_118);
|
||||
if (x_119 == 0)
|
||||
|
|
@ -23926,7 +23926,7 @@ else
|
|||
lean_object* x_371; lean_object* x_372; lean_object* x_373; uint8_t x_374;
|
||||
x_371 = lean_unsigned_to_nat(1u);
|
||||
x_372 = l_Lean_Syntax_getArg(x_4, x_371);
|
||||
x_373 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__22;
|
||||
x_373 = l_myMacro____x40_Init_NotationExtra___hyg_5711____closed__21;
|
||||
lean_inc(x_372);
|
||||
x_374 = l_Lean_Syntax_isOfKind(x_372, x_373);
|
||||
if (x_374 == 0)
|
||||
|
|
@ -25515,24 +25515,24 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokens_h
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 1)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6;
|
||||
lean_dec(x_4);
|
||||
x_5 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_apply_3(x_3, x_1, x_2, x_5);
|
||||
return x_6;
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
lean_dec(x_5);
|
||||
x_6 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_apply_4(x_4, x_1, x_2, x_6, x_3);
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_7;
|
||||
lean_dec(x_3);
|
||||
x_7 = lean_apply_2(x_4, x_1, x_2);
|
||||
return x_7;
|
||||
lean_object* x_8;
|
||||
lean_dec(x_4);
|
||||
x_8 = lean_apply_3(x_5, x_1, x_2, x_3);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -25540,7 +25540,7 @@ lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2___rarg), 4, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleSemanticTokens_highlightId_match__2___rarg), 5, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
|
|
@ -26231,102 +26231,102 @@ goto _start;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_4) == 1)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6;
|
||||
x_5 = lean_ctor_get(x_4, 0);
|
||||
x_6 = l_Lean_Elab_Info_pos_x3f(x_4);
|
||||
if (lean_obj_tag(x_6) == 0)
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
x_6 = lean_ctor_get(x_4, 0);
|
||||
x_7 = l_Lean_Elab_Info_pos_x3f(x_4);
|
||||
if (lean_obj_tag(x_7) == 0)
|
||||
{
|
||||
lean_object* x_7;
|
||||
x_7 = lean_box(0);
|
||||
lean_object* x_8;
|
||||
x_8 = lean_box(0);
|
||||
return x_8;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_9;
|
||||
x_9 = !lean_is_exclusive(x_7);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; uint8_t x_11;
|
||||
x_10 = lean_ctor_get(x_7, 0);
|
||||
x_11 = lean_nat_dec_le(x_1, x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12;
|
||||
lean_free_object(x_7);
|
||||
lean_dec(x_10);
|
||||
x_12 = lean_box(0);
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_13;
|
||||
x_13 = lean_nat_dec_lt(x_10, x_2);
|
||||
lean_dec(x_10);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14;
|
||||
lean_free_object(x_7);
|
||||
x_14 = lean_box(0);
|
||||
return x_14;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(x_6);
|
||||
lean_ctor_set(x_7, 0, x_6);
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_8;
|
||||
x_8 = !lean_is_exclusive(x_6);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
lean_object* x_9; uint8_t x_10;
|
||||
x_9 = lean_ctor_get(x_6, 0);
|
||||
x_10 = lean_nat_dec_le(x_1, x_9);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
lean_object* x_11;
|
||||
lean_free_object(x_6);
|
||||
lean_dec(x_9);
|
||||
x_11 = lean_box(0);
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_12;
|
||||
x_12 = lean_nat_dec_lt(x_9, x_2);
|
||||
lean_dec(x_9);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
lean_object* x_13;
|
||||
lean_free_object(x_6);
|
||||
x_13 = lean_box(0);
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(x_5);
|
||||
lean_ctor_set(x_6, 0, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; uint8_t x_15;
|
||||
x_14 = lean_ctor_get(x_6, 0);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_6);
|
||||
x_15 = lean_nat_dec_le(x_1, x_14);
|
||||
if (x_15 == 0)
|
||||
lean_object* x_15; uint8_t x_16;
|
||||
x_15 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_7);
|
||||
x_16 = lean_nat_dec_le(x_1, x_15);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
lean_object* x_16;
|
||||
lean_dec(x_14);
|
||||
x_16 = lean_box(0);
|
||||
return x_16;
|
||||
lean_object* x_17;
|
||||
lean_dec(x_15);
|
||||
x_17 = lean_box(0);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_17;
|
||||
x_17 = lean_nat_dec_lt(x_14, x_2);
|
||||
lean_dec(x_14);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
lean_object* x_18;
|
||||
x_18 = lean_box(0);
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
uint8_t x_18;
|
||||
x_18 = lean_nat_dec_lt(x_15, x_2);
|
||||
lean_dec(x_15);
|
||||
if (x_18 == 0)
|
||||
{
|
||||
lean_object* x_19;
|
||||
lean_inc(x_5);
|
||||
x_19 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_19, 0, x_5);
|
||||
x_19 = lean_box(0);
|
||||
return x_19;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20;
|
||||
x_20 = lean_box(0);
|
||||
lean_inc(x_6);
|
||||
x_20 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_20, 0, x_6);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_21;
|
||||
x_21 = lean_box(0);
|
||||
return x_21;
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -26353,7 +26353,7 @@ lean_dec(x_7);
|
|||
x_14 = lean_array_uget(x_4, x_6);
|
||||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_15 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed), 4, 2);
|
||||
x_15 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed), 5, 2);
|
||||
lean_closure_set(x_15, 0, x_1);
|
||||
lean_closure_set(x_15, 1, x_2);
|
||||
x_16 = l_Lean_Elab_InfoTree_deepestNodes___rarg(x_15, x_14);
|
||||
|
|
@ -26640,7 +26640,7 @@ lean_dec(x_7);
|
|||
x_14 = lean_array_uget(x_4, x_6);
|
||||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_15 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed), 4, 2);
|
||||
x_15 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed), 5, 2);
|
||||
lean_closure_set(x_15, 0, x_1);
|
||||
lean_closure_set(x_15, 1, x_2);
|
||||
x_16 = l_Lean_Elab_InfoTree_deepestNodes___rarg(x_15, x_14);
|
||||
|
|
@ -27019,16 +27019,17 @@ lean_dec(x_3);
|
|||
return x_14;
|
||||
}
|
||||
}
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___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_5;
|
||||
x_5 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(x_1, x_2, x_3, x_4);
|
||||
lean_object* x_6;
|
||||
x_6 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___lambda__1(x_1, x_2, x_3, x_4, x_5);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_5;
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleSemanticTokens_highlightId___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
|
|
|
|||
1775
stage0/stdlib/Lean/Server/InfoUtils.c
generated
1775
stage0/stdlib/Lean/Server/InfoUtils.c
generated
File diff suppressed because it is too large
Load diff
6
stage0/stdlib/Lean/Structure.c
generated
6
stage0/stdlib/Lean/Structure.c
generated
|
|
@ -99,7 +99,7 @@ lean_object* l_Lean_getPathToBaseStructureAux___boxed(lean_object*, lean_object*
|
|||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Structure_0__Lean_getStructureFieldsFlattenedAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_MapDeclarationExtension_contains___at_Lean_Environment_isProjectionFn___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Structure_0__Lean_getStructureFieldsAux(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_appendBefore(lean_object*, lean_object*);
|
||||
lean_object* lean_name_append_before(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getAllParentStructures_visit(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_getAppFn(lean_object*);
|
||||
lean_object* l_Lean_getPathToBaseStructureAux_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -323,7 +323,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_15342____closed__14;
|
||||
x_3 = l_Lean_Name_appendBefore(x_1, x_2);
|
||||
x_3 = lean_name_append_before(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
|
|
@ -1015,7 +1015,7 @@ x_4 = l_Lean_getStructureCtor(x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = l_myMacro____x40_Init_Notation___hyg_15342____closed__14;
|
||||
x_7 = l_Lean_Name_appendBefore(x_3, x_6);
|
||||
x_7 = lean_name_append_before(x_3, x_6);
|
||||
x_8 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_4);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Util/CollectLevelParams.c
generated
4
stage0/stdlib/Lean/Util/CollectLevelParams.c
generated
|
|
@ -45,7 +45,7 @@ lean_object* l_Lean_CollectLevelParams_instInhabitedState;
|
|||
lean_object* l_List_replace___at_Lean_CollectLevelParams_visitExpr___spec__7___boxed(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_elem___at_Lean_CollectLevelParams_visitLevel___spec__2(lean_object*, lean_object*);
|
||||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*);
|
||||
lean_object* lean_name_append_index_after(lean_object*, lean_object*);
|
||||
lean_object* l_List_replace___at_Lean_CollectLevelParams_visitLevel___spec__7(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashSetImp_contains___at_Lean_CollectLevelParams_visitLevel___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Std_mkHashSet___at_Lean_CollectLevelParams_State_visitedExpr___default___spec__1(lean_object*);
|
||||
|
|
@ -2764,7 +2764,7 @@ _start:
|
|||
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_4 = l_Lean_Name_appendIndexAfter(x_2, x_3);
|
||||
x_4 = lean_name_append_index_after(x_2, x_3);
|
||||
x_5 = l_Lean_mkLevelParam(x_4);
|
||||
x_6 = lean_ctor_get(x_1, 0);
|
||||
x_7 = l_Std_HashSetImp_contains___at_Lean_CollectLevelParams_visitLevel___spec__1(x_6, x_5);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue