chore: update stage0
This commit is contained in:
parent
cf49e6fe8f
commit
1aa274e5c0
36 changed files with 7016 additions and 3637 deletions
18
stage0/src/Init/Data/Nat/Basic.lean
generated
18
stage0/src/Init/Data/Nat/Basic.lean
generated
|
|
@ -126,6 +126,12 @@ protected theorem right_distrib (n m k : Nat) : (n + m) * k = n * k + m * k :=
|
|||
have h₄ : n * k + k * m = n * k + m * k := Nat.mul_comm m k ▸ rfl
|
||||
((h₁.trans h₂).trans h₃).trans h₄
|
||||
|
||||
protected theorem mul_add (n m k : Nat) : n * (m + k) = n * m + n * k :=
|
||||
Nat.left_distrib n m k
|
||||
|
||||
protected theorem add_mul (n m k : Nat) : (n + m) * k = n * k + m * k :=
|
||||
Nat.right_distrib n m k
|
||||
|
||||
protected theorem mul_assoc : ∀ (n m k : Nat), (n * m) * k = n * (m * k)
|
||||
| n, m, 0 => rfl
|
||||
| n, m, succ k =>
|
||||
|
|
@ -190,6 +196,18 @@ protected theorem lt_of_lt_of_le {n m k : Nat} : n < m → m ≤ k → n < k :=
|
|||
protected theorem lt_of_lt_of_eq {n m k : Nat} : n < m → m = k → n < k :=
|
||||
fun h₁ h₂ => h₂ ▸ h₁
|
||||
|
||||
instance : Trans (. < . : Nat → Nat → Prop) (. < . : Nat → Nat → Prop) (. < . : Nat → Nat → Prop) where
|
||||
trans := Nat.lt_trans
|
||||
|
||||
instance : Trans (. ≤ . : Nat → Nat → Prop) (. ≤ . : Nat → Nat → Prop) (. ≤ . : Nat → Nat → Prop) where
|
||||
trans := Nat.le_trans
|
||||
|
||||
instance : Trans (. < . : Nat → Nat → Prop) (. ≤ . : Nat → Nat → Prop) (. < . : Nat → Nat → Prop) where
|
||||
trans := Nat.lt_of_lt_of_le
|
||||
|
||||
instance : Trans (. ≤ . : Nat → Nat → Prop) (. < . : Nat → Nat → Prop) (. < . : Nat → Nat → Prop) where
|
||||
trans := Nat.lt_of_le_of_lt
|
||||
|
||||
protected theorem le_of_eq {n m : Nat} (p : n = m) : n ≤ m :=
|
||||
p ▸ Nat.le_refl n
|
||||
|
||||
|
|
|
|||
4
stage0/src/Init/Notation.lean
generated
4
stage0/src/Init/Notation.lean
generated
|
|
@ -281,6 +281,8 @@ syntax (name := constructor) "constructor" : tactic
|
|||
syntax (name := case) "case " ident (ident <|> "_")* " => " tacticSeq : tactic
|
||||
/-- `allGoals tac` runs `tac` on each goal, concatenating the resulting goals, if any. -/
|
||||
syntax (name := allGoals) "allGoals " tacticSeq : tactic
|
||||
/-- `anyGoals tac` applies the tactic `tac` to every goal, and succeeds if at least one application succeeds. -/
|
||||
syntax (name := anyGoals) "anyGoals " tacticSeq : tactic
|
||||
/--
|
||||
`focus tac` focuses on the main goal, suppressing all other goals, and runs `tac` on it.
|
||||
Usually `· tac`, which enforces that the goal is closed by `tac`, should be preferred. -/
|
||||
|
|
@ -386,6 +388,8 @@ syntax (name := cases) "cases " casesTarget,+ (" using " ident)? (inductionAlts)
|
|||
|
||||
syntax (name := existsIntro) "exists " term : tactic
|
||||
|
||||
/-- `renameI x_1 ... x_n` renames the last `n` inaccessible names using the given names. -/
|
||||
syntax (name := renameI) "renameI " (colGt (ident <|> "_"))+ : tactic
|
||||
|
||||
syntax "repeat " tacticSeq : tactic
|
||||
macro_rules
|
||||
|
|
|
|||
8
stage0/src/Init/NotationExtra.lean
generated
8
stage0/src/Init/NotationExtra.lean
generated
|
|
@ -93,6 +93,14 @@ macro "Σ'" xs:explicitBinders ", " b:term : term => expandExplicitBinders ``PSi
|
|||
macro:35 xs:bracketedExplicitBinders " × " b:term:35 : term => expandBrackedBinders ``Sigma xs b
|
||||
macro:35 xs:bracketedExplicitBinders " ×' " b:term:35 : term => expandBrackedBinders ``PSigma xs b
|
||||
|
||||
-- enforce indentation of calc steps so we know when to stop parsing them
|
||||
syntax calcStep := colGe term " := " withPosition(term)
|
||||
syntax "calc " withPosition(calcStep+) : term
|
||||
|
||||
macro_rules
|
||||
| `(calc $p:term := $h:term) => `(($h : $p))
|
||||
| `(calc $p:term := $h:term $rest:calcStep*) => ``(trans ($h : $p) (calc $rest:calcStep*))
|
||||
|
||||
@[appUnexpander Unit.unit] def unexpandUnit : Lean.PrettyPrinter.Unexpander
|
||||
| `($(_)) => `(())
|
||||
| _ => throw ()
|
||||
|
|
|
|||
12
stage0/src/Init/Prelude.lean
generated
12
stage0/src/Init/Prelude.lean
generated
|
|
@ -380,6 +380,18 @@ class LT (α : Type u) where lt : α → α → Prop
|
|||
@[inline] def min [LE α] [DecidableRel (@LE.le α _)] (a b : α) : α :=
|
||||
ite (LE.le a b) a b
|
||||
|
||||
/-- Transitive chaining of proofs, used e.g. by `calc`. -/
|
||||
class Trans (r : α → β → Prop) (s : β → γ → Prop) (t : outParam (α → γ → Prop)) where
|
||||
trans : r a b → s b c → t a c
|
||||
|
||||
export Trans (trans)
|
||||
|
||||
instance (r : α → γ → Prop) : Trans Eq r r where
|
||||
trans heq h' := heq ▸ h'
|
||||
|
||||
instance (r : α → β → Prop) : Trans r Eq r where
|
||||
trans h' heq := heq ▸ h'
|
||||
|
||||
class HAdd (α : Type u) (β : Type v) (γ : outParam (Type w)) where
|
||||
hAdd : α → β → γ
|
||||
|
||||
|
|
|
|||
17
stage0/src/Lean/Elab/Binders.lean
generated
17
stage0/src/Lean/Elab/Binders.lean
generated
|
|
@ -107,25 +107,24 @@ private def matchBinder (stx : Syntax) : TermElabM (Array BinderView) := do
|
|||
if k == ``Lean.Parser.Term.simpleBinder then
|
||||
-- binderIdent+ >> optType
|
||||
let ids ← getBinderIds stx[0]
|
||||
let type := expandOptType (mkNullNode ids) stx[1]
|
||||
ids.mapM fun id => do pure { id := (← expandBinderIdent id), type := type, bi := BinderInfo.default }
|
||||
let optType := stx[1]
|
||||
ids.mapM fun id => do pure { id := (← expandBinderIdent id), type := expandOptType id optType, bi := BinderInfo.default }
|
||||
else if k == ``Lean.Parser.Term.explicitBinder then
|
||||
-- `(` binderIdent+ binderType (binderDefault <|> binderTactic)? `)`
|
||||
let ids ← getBinderIds stx[1]
|
||||
let type := expandBinderType (mkNullNode ids) stx[2]
|
||||
let type := stx[2]
|
||||
let optModifier := stx[3]
|
||||
let type ← expandBinderModifier type optModifier
|
||||
ids.mapM fun id => do pure { id := (← expandBinderIdent id), type := type, bi := BinderInfo.default }
|
||||
ids.mapM fun id => do pure { id := (← expandBinderIdent id), type := (← expandBinderModifier (expandBinderType id type) optModifier), bi := BinderInfo.default }
|
||||
else if k == ``Lean.Parser.Term.implicitBinder then
|
||||
-- `{` binderIdent+ binderType `}`
|
||||
let ids ← getBinderIds stx[1]
|
||||
let type := expandBinderType (mkNullNode ids) stx[2]
|
||||
ids.mapM fun id => do pure { id := (← expandBinderIdent id), type := type, bi := BinderInfo.implicit }
|
||||
let type := stx[2]
|
||||
ids.mapM fun id => do pure { id := (← expandBinderIdent id), type := expandBinderType id type, bi := BinderInfo.implicit }
|
||||
else if k == ``Lean.Parser.Term.strictImplicitBinder then
|
||||
-- `⦃` binderIdent+ binderType `⦄`
|
||||
let ids ← getBinderIds stx[1]
|
||||
let type := expandBinderType (mkNullNode ids) stx[2]
|
||||
ids.mapM fun id => do pure { id := (← expandBinderIdent id), type := type, bi := BinderInfo.strictImplicit }
|
||||
let type := stx[2]
|
||||
ids.mapM fun id => do pure { id := (← expandBinderIdent id), type := expandBinderType id type, bi := BinderInfo.strictImplicit }
|
||||
else if k == ``Lean.Parser.Term.instBinder then
|
||||
-- `[` optIdent type `]`
|
||||
let id ← expandOptIdent stx[1]
|
||||
|
|
|
|||
2
stage0/src/Lean/Elab/DefView.lean
generated
2
stage0/src/Lean/Elab/DefView.lean
generated
|
|
@ -16,7 +16,7 @@ namespace Lean.Elab
|
|||
|
||||
inductive DefKind where
|
||||
| «def» | «theorem» | «example» | «opaque» | «abbrev»
|
||||
deriving Inhabited
|
||||
deriving Inhabited, BEq
|
||||
|
||||
def DefKind.isTheorem : DefKind → Bool
|
||||
| «theorem» => true
|
||||
|
|
|
|||
25
stage0/src/Lean/Elab/MutualDef.lean
generated
25
stage0/src/Lean/Elab/MutualDef.lean
generated
|
|
@ -74,6 +74,29 @@ private def check (prevHeaders : Array DefViewElabHeader) (newHeader : DefViewEl
|
|||
private def registerFailedToInferDefTypeInfo (type : Expr) (ref : Syntax) : TermElabM Unit :=
|
||||
registerCustomErrorIfMVar type ref "failed to infer definition type"
|
||||
|
||||
/--
|
||||
Return `some [b, c]` if the given `views` are representing a declaration of the form
|
||||
```
|
||||
constant a b c : Nat
|
||||
``` -/
|
||||
private def isMultiConstant? (views : Array DefView) : Option (List Name) :=
|
||||
if views.size == 1 &&
|
||||
views[0].kind == DefKind.opaque &&
|
||||
views[0].binders.getArgs.size > 0 &&
|
||||
views[0].binders.getArgs.all (·.getKind == ``Parser.Term.simpleBinder) then
|
||||
some <| (views[0].binders.getArgs.toList.map (fun stx => stx[0].getArgs.toList.map (·.getId))).join
|
||||
else
|
||||
none
|
||||
|
||||
private def getPendindMVarErrorMessage (views : Array DefView) : String :=
|
||||
match isMultiConstant? views with
|
||||
| some ids =>
|
||||
let idsStr := ", ".intercalate <| ids.map fun id => s!"`{id}`"
|
||||
let paramsStr := ", ".intercalate <| ids.map fun id => s!"`({id} : _)`"
|
||||
s!"\nrecall that you cannot declare multiple constants in a single declaration. The identifier(s) {idsStr} are being interpreted as parameters {paramsStr}"
|
||||
| none =>
|
||||
"\nwhen the resulting type of a declaration is explicitly provided, all holes (e.g., `_`) in the header are resolved before the declaration body is processed"
|
||||
|
||||
private def elabHeaders (views : Array DefView) : TermElabM (Array DefViewElabHeader) := do
|
||||
let mut headers := #[]
|
||||
for view in views do
|
||||
|
|
@ -103,7 +126,7 @@ private def elabHeaders (views : Array DefView) : TermElabM (Array DefViewElabHe
|
|||
if view.type?.isSome then
|
||||
let pendingMVarIds ← getMVars type
|
||||
discard <| logUnassignedUsingErrorInfos pendingMVarIds <|
|
||||
m!"\nwhen the resulting type of a declaration is explicitly provided, all holes (e.g., `_`) in the header are resolved before the declaration body is processed"
|
||||
getPendindMVarErrorMessage views
|
||||
let newHeader := {
|
||||
ref := view.ref,
|
||||
modifiers := view.modifiers,
|
||||
|
|
|
|||
73
stage0/src/Lean/Elab/Tactic/BuiltinTactic.lean
generated
73
stage0/src/Lean/Elab/Tactic/BuiltinTactic.lean
generated
|
|
@ -84,6 +84,23 @@ private def getOptRotation (stx : Syntax) : Nat :=
|
|||
mvarIdsNew := mvarIdsNew.push mvarId
|
||||
setGoals mvarIdsNew.toList
|
||||
|
||||
@[builtinTactic Parser.Tactic.anyGoals] def evalAnyGoals : Tactic := fun stx => do
|
||||
let mvarIds ← getGoals
|
||||
let mut mvarIdsNew := #[]
|
||||
let mut succeeded := false
|
||||
for mvarId in mvarIds do
|
||||
unless (← isExprMVarAssigned mvarId) do
|
||||
setGoals [mvarId]
|
||||
try
|
||||
evalTactic stx[1]
|
||||
mvarIdsNew := mvarIdsNew ++ (← getUnsolvedGoals)
|
||||
succeeded := true
|
||||
catch _ =>
|
||||
mvarIdsNew := mvarIdsNew.push mvarId
|
||||
unless succeeded do
|
||||
throwError "failed on all goals"
|
||||
setGoals mvarIdsNew.toList
|
||||
|
||||
@[builtinTactic tacticSeq] def evalTacticSeq : Tactic := fun stx =>
|
||||
evalTactic stx[0]
|
||||
|
||||
|
|
@ -198,36 +215,40 @@ private def findTag? (mvarIds : List MVarId) (tag : Name) : TacticM (Option MVar
|
|||
| some mvarId => return mvarId
|
||||
| none => mvarIds.findM? fun mvarId => return tag.isPrefixOf (← getMVarDecl mvarId).userName
|
||||
|
||||
def renameInaccessibles (mvarId : MVarId) (hs : Array Syntax) : TacticM MVarId := do
|
||||
if hs.isEmpty then
|
||||
return mvarId
|
||||
else
|
||||
let mvarDecl ← getMVarDecl mvarId
|
||||
let mut lctx := mvarDecl.lctx
|
||||
let mut hs := hs
|
||||
let n := lctx.numIndices
|
||||
for i in [:n] do
|
||||
let j := n - i - 1
|
||||
match lctx.getAt? j with
|
||||
| none => pure ()
|
||||
| some localDecl =>
|
||||
if localDecl.userName.hasMacroScopes then
|
||||
let h := hs.back
|
||||
if h.isIdent then
|
||||
let newName := h.getId
|
||||
lctx := lctx.setUserName localDecl.fvarId newName
|
||||
hs := hs.pop
|
||||
if hs.isEmpty then
|
||||
break
|
||||
unless hs.isEmpty do
|
||||
logError m!"too many variable names provided"
|
||||
let mvarNew ← mkFreshExprMVarAt lctx mvarDecl.localInstances mvarDecl.type MetavarKind.syntheticOpaque mvarDecl.userName
|
||||
assignExprMVar mvarId mvarNew
|
||||
return mvarNew.mvarId!
|
||||
|
||||
@[builtinTactic «case»] def evalCase : Tactic
|
||||
| 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"
|
||||
let gs := gs.erase g
|
||||
let mut g := g
|
||||
unless hs.isEmpty do
|
||||
let mvarDecl ← getMVarDecl g
|
||||
let mut lctx := mvarDecl.lctx
|
||||
let mut hs := hs
|
||||
let n := lctx.numIndices
|
||||
for i in [:n] do
|
||||
let j := n - i - 1
|
||||
match lctx.getAt? j with
|
||||
| none => pure ()
|
||||
| some localDecl =>
|
||||
if localDecl.userName.hasMacroScopes then
|
||||
let h := hs.back
|
||||
if h.isIdent then
|
||||
let newName := h.getId
|
||||
lctx := lctx.setUserName localDecl.fvarId newName
|
||||
hs := hs.pop
|
||||
if hs.isEmpty then
|
||||
break
|
||||
unless hs.isEmpty do
|
||||
logError m!"too many variable names provided at 'case'"
|
||||
let mvarNew ← mkFreshExprMVarAt lctx mvarDecl.localInstances mvarDecl.type MetavarKind.syntheticOpaque mvarDecl.userName
|
||||
assignExprMVar g mvarNew
|
||||
g := mvarNew.mvarId!
|
||||
let g ← renameInaccessibles g hs
|
||||
setGoals [g]
|
||||
let savedTag ← getMVarTag g
|
||||
setMVarTag g Name.anonymous
|
||||
|
|
@ -240,6 +261,10 @@ private def findTag? (mvarIds : List MVarId) (tag : Name) : TacticM (Option MVar
|
|||
setGoals gs
|
||||
| _ => throwUnsupportedSyntax
|
||||
|
||||
@[builtinTactic «renameI»] def evalRenameInaccessibles : Tactic
|
||||
| stx@`(tactic| renameI $hs*) => do replaceMainGoal [← renameInaccessibles (← getMainGoal) hs]
|
||||
| _ => throwUnsupportedSyntax
|
||||
|
||||
@[builtinTactic «first»] partial def evalFirst : Tactic := fun stx => do
|
||||
let tacs := stx[1].getArgs
|
||||
if tacs.isEmpty then throwUnsupportedSyntax
|
||||
|
|
|
|||
9
stage0/src/Lean/Elab/Tactic/ElabTerm.lean
generated
9
stage0/src/Lean/Elab/Tactic/ElabTerm.lean
generated
|
|
@ -177,7 +177,14 @@ def elabAsFVar (stx : Syntax) (userName? : Option Name := none) : TacticM FVarId
|
|||
match stx with
|
||||
| `(tactic| rename $typeStx:term => $h:ident) => do
|
||||
withMainContext do
|
||||
let fvarId ← withoutModifyingState <| withNewMCtxDepth do
|
||||
/- Remark: we must not use `withoutModifyingState` because we may miss errors message.
|
||||
For example, suppose the following `elabTerm` logs an error during elaboration.
|
||||
In this scenario, the term `type` contains a synthetic `sorry`, and the error
|
||||
message `"failed to find ..."` is not logged by the outer loop.
|
||||
By using `withoutModifyingStateWithInfoAndMessages`, we ensure that
|
||||
the messages and the info trees are preserved while the rest of the
|
||||
state is backtracked. -/
|
||||
let fvarId ← withoutModifyingStateWithInfoAndMessages <| withNewMCtxDepth do
|
||||
let type ← elabTerm typeStx none (mayPostpone := true)
|
||||
let fvarId? ← (← getLCtx).findDeclRevM? fun localDecl => do
|
||||
if (← isDefEq type localDecl.type) then return localDecl.fvarId else return none
|
||||
|
|
|
|||
16
stage0/src/Lean/Elab/Term.lean
generated
16
stage0/src/Lean/Elab/Term.lean
generated
|
|
@ -321,6 +321,18 @@ def withoutModifyingElabMetaStateWithInfo (x : TermElabM α) : TermElabM α := d
|
|||
modify ({ s with infoState := ·.infoState })
|
||||
set sMeta
|
||||
|
||||
/--
|
||||
Execute `x` bud discard changes performed to the state.
|
||||
However, the info trees and messages are not discarded. -/
|
||||
private def withoutModifyingStateWithInfoAndMessagesImpl (x : TermElabM α) : TermElabM α := do
|
||||
let saved ← saveState
|
||||
try
|
||||
x
|
||||
finally
|
||||
let s ← get
|
||||
let saved := { saved with elab.infoState := s.infoState, elab.messages := s.messages }
|
||||
restoreState saved
|
||||
|
||||
unsafe def mkTermElabAttributeUnsafe : IO (KeyedDeclsAttribute TermElab) :=
|
||||
mkElabAttribute TermElab `Lean.Elab.Term.termElabAttribute `builtinTermElab `termElab `Lean.Parser.Term `Lean.Elab.Term.TermElab "term"
|
||||
|
||||
|
|
@ -1551,6 +1563,10 @@ def withoutPostponingUniverseConstraints (x : TermElabM α) : TermElabM α := do
|
|||
|
||||
end Term
|
||||
|
||||
open Term in
|
||||
def withoutModifyingStateWithInfoAndMessages [MonadControlT TermElabM m] [Monad m] (x : m α) : m α := do
|
||||
controlAt TermElabM fun runInBase => withoutModifyingStateWithInfoAndMessagesImpl <| runInBase x
|
||||
|
||||
builtin_initialize
|
||||
registerTraceClass `Elab.postpone
|
||||
registerTraceClass `Elab.coe
|
||||
|
|
|
|||
2
stage0/src/kernel/quot.cpp
generated
2
stage0/src/kernel/quot.cpp
generated
|
|
@ -92,7 +92,7 @@ environment environment::add_quot() const {
|
|||
/* constant {u} quot.ind {α : Sort u} {r : α → α → Prop} {β : @quot.{u} α r → Prop}
|
||||
: (∀ a : α, β (@quot.mk.{u} α r a)) → ∀ q : @quot.{u} α r, β q */
|
||||
new_env.add_core(constant_info(quot_val(*quot_consts::g_quot_ind, {u_name},
|
||||
lctx.mk_pi({alpha, r, beta}, mk_arrow(all_quot, lctx.mk_pi(q, beta_q))), quot_kind::Ind)));
|
||||
lctx.mk_pi({alpha, r, beta}, mk_pi("mk", all_quot, lctx.mk_pi(q, beta_q))), quot_kind::Ind)));
|
||||
new_env.mark_quot_initialized();
|
||||
return new_env;
|
||||
}
|
||||
|
|
|
|||
44
stage0/stdlib/Init/Data/Nat/Basic.c
generated
44
stage0/stdlib/Init/Data/Nat/Basic.c
generated
|
|
@ -24,13 +24,17 @@ lean_object* l_Nat_foldRev(lean_object*);
|
|||
lean_object* l_Nat_repeat_loop(lean_object*);
|
||||
lean_object* l_Nat_max(lean_object*, lean_object*);
|
||||
lean_object* l_Nat_foldAux_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Nat_instTransLeArrowNatArrowNatPropLtArrowNatArrowNatPropLtArrowNatArrowNatProp;
|
||||
lean_object* l_Prod_foldI(lean_object*);
|
||||
lean_object* l_Nat_instTransLtArrowNatArrowNatPropLeArrowNatArrowNatPropLtArrowNatArrowNatProp;
|
||||
lean_object* l_Prod_foldI___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Nat_repeat(lean_object*);
|
||||
lean_object* l_Nat_foldRev_loop___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Nat_foldRev_loop(lean_object*);
|
||||
lean_object* l_Nat_instTransLeArrowNatArrowNatPropLeArrowNatArrowNatPropLeArrowNatArrowNatProp;
|
||||
uint8_t l_Nat_any(lean_object*, lean_object*);
|
||||
lean_object* l_Nat_instTransLtArrowNatArrowNatPropLtArrowNatArrowNatPropLtArrowNatArrowNatProp;
|
||||
lean_object* l_Nat_fold(lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Nat_max___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -460,6 +464,38 @@ x_2 = lean_alloc_closure((void*)(l_Nat_repeat___rarg), 3, 0);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Nat_instTransLtArrowNatArrowNatPropLtArrowNatArrowNatPropLtArrowNatArrowNatProp() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_box(0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Nat_instTransLeArrowNatArrowNatPropLeArrowNatArrowNatPropLeArrowNatArrowNatProp() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_box(0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Nat_instTransLtArrowNatArrowNatPropLeArrowNatArrowNatPropLtArrowNatArrowNatProp() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_box(0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Nat_instTransLeArrowNatArrowNatPropLtArrowNatArrowNatPropLtArrowNatArrowNatProp() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_box(0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_Nat_min(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -650,6 +686,14 @@ _G_initialized = true;
|
|||
res = initialize_Init_SimpLemmas(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Nat_instTransLtArrowNatArrowNatPropLtArrowNatArrowNatPropLtArrowNatArrowNatProp = _init_l_Nat_instTransLtArrowNatArrowNatPropLtArrowNatArrowNatPropLtArrowNatArrowNatProp();
|
||||
lean_mark_persistent(l_Nat_instTransLtArrowNatArrowNatPropLtArrowNatArrowNatPropLtArrowNatArrowNatProp);
|
||||
l_Nat_instTransLeArrowNatArrowNatPropLeArrowNatArrowNatPropLeArrowNatArrowNatProp = _init_l_Nat_instTransLeArrowNatArrowNatPropLeArrowNatArrowNatPropLeArrowNatArrowNatProp();
|
||||
lean_mark_persistent(l_Nat_instTransLeArrowNatArrowNatPropLeArrowNatArrowNatPropLeArrowNatArrowNatProp);
|
||||
l_Nat_instTransLtArrowNatArrowNatPropLeArrowNatArrowNatPropLtArrowNatArrowNatProp = _init_l_Nat_instTransLtArrowNatArrowNatPropLeArrowNatArrowNatPropLtArrowNatArrowNatProp();
|
||||
lean_mark_persistent(l_Nat_instTransLtArrowNatArrowNatPropLeArrowNatArrowNatPropLtArrowNatArrowNatProp);
|
||||
l_Nat_instTransLeArrowNatArrowNatPropLtArrowNatArrowNatPropLtArrowNatArrowNatProp = _init_l_Nat_instTransLeArrowNatArrowNatPropLtArrowNatArrowNatPropLtArrowNatArrowNatProp();
|
||||
lean_mark_persistent(l_Nat_instTransLeArrowNatArrowNatPropLtArrowNatArrowNatPropLtArrowNatArrowNatProp);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
1316
stage0/stdlib/Init/Notation.c
generated
1316
stage0/stdlib/Init/Notation.c
generated
File diff suppressed because it is too large
Load diff
1905
stage0/stdlib/Init/NotationExtra.c
generated
1905
stage0/stdlib/Init/NotationExtra.c
generated
File diff suppressed because it is too large
Load diff
18
stage0/stdlib/Init/Prelude.c
generated
18
stage0/stdlib/Init/Prelude.c
generated
|
|
@ -206,6 +206,7 @@ lean_object* l_Lean_Syntax_getTailPos_x3f_loop_match__1(lean_object*);
|
|||
static lean_object* l_Applicative_seqRight___default___rarg___closed__1;
|
||||
lean_object* l_instDecidableEqFin_match__1___rarg(uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Macro_instMonadQuotationMacroM;
|
||||
lean_object* l_instTransEq__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getNumArgs___boxed(lean_object*);
|
||||
lean_object* l_cond_match__1___rarg(uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_readThe___rarg___boxed(lean_object*);
|
||||
|
|
@ -938,6 +939,7 @@ lean_object* l_ReaderT_pure___rarg(lean_object*, lean_object*, lean_object*, lea
|
|||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_instBEqName;
|
||||
lean_object* l_instMonadWithReaderOf___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_instTransEq(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getHeadInfo_x3f_loop___boxed(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Syntax_isIdent(lean_object*);
|
||||
lean_object* l_readThe___rarg(lean_object*);
|
||||
|
|
@ -1997,6 +1999,22 @@ lean_dec(x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_instTransEq(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_box(0);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* l_instTransEq__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_box(0);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* l_instHAdd___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
884
stage0/stdlib/Lean/Elab/Binders.c
generated
884
stage0/stdlib/Lean/Elab/Binders.c
generated
File diff suppressed because it is too large
Load diff
4
stage0/stdlib/Lean/Elab/BuiltinNotation.c
generated
4
stage0/stdlib/Lean/Elab/BuiltinNotation.c
generated
|
|
@ -435,6 +435,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT___closed__5;
|
|||
lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
||||
uint8_t l_Lean_BinderInfo_isExplicit(uint8_t);
|
||||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Elab_getRefPos___at_Lean_Elab_Term_elabPanic___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__7;
|
||||
static lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__1___closed__3;
|
||||
|
|
@ -533,7 +534,6 @@ static lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___lambda__3___close
|
|||
static lean_object* l_Lean_Elab_Term_expandParen___closed__4;
|
||||
static lean_object* l_Lean_Elab_Term_elabSubst___closed__2;
|
||||
extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro___closed__1;
|
||||
static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__8;
|
||||
static lean_object* l_Lean_Elab_Term_expandParen___closed__9;
|
||||
|
|
@ -1360,7 +1360,7 @@ x_34 = lean_usize_of_nat(x_33);
|
|||
lean_dec(x_33);
|
||||
x_35 = 0;
|
||||
x_36 = x_32;
|
||||
x_37 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_34, x_35, x_36);
|
||||
x_37 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_34, x_35, x_36);
|
||||
x_38 = x_37;
|
||||
x_39 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__6;
|
||||
x_40 = l_Lean_mkSepArray(x_38, x_39);
|
||||
|
|
|
|||
345
stage0/stdlib/Lean/Elab/DefView.c
generated
345
stage0/stdlib/Lean/Elab/DefView.c
generated
|
|
@ -35,6 +35,7 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_11____boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__2;
|
||||
static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__37;
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_collect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -88,6 +89,7 @@ static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanc
|
|||
static lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__6;
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfExample(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_mkDefView___closed__2;
|
||||
lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_11__match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__26;
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_append(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -103,6 +105,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanc
|
|||
lean_object* l_Lean_Elab_Command_mkDefViewOfConstant_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_isDefLike___closed__11;
|
||||
static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__34;
|
||||
static lean_object* l_Lean_Elab_instBEqDefKind___closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__3;
|
||||
lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -166,6 +169,7 @@ lean_object* l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName___rarg(lean_
|
|||
lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___lambda__1(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_Command_MkInstanceName_collect___spec__1___boxed(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*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__2;
|
||||
lean_object* l_Std_RBNode_find___at_Lean_findDocString_x3f___spec__5(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__6;
|
||||
lean_object* l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -180,6 +184,7 @@ static lean_object* l_Lean_Elab_Command_MkInstanceName_isFirst___closed__1;
|
|||
static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__35;
|
||||
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_DefKind_isTheorem_match__1(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__3;
|
||||
lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_isFirst___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_MkInstanceName_main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -197,8 +202,7 @@ lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___sp
|
|||
lean_object* l_Lean_Elab_Command_mkDefViewOfConstant_match__1(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__2(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241_(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__4;
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294_(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__20;
|
||||
static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__10;
|
||||
static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__32;
|
||||
|
|
@ -216,9 +220,9 @@ static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__11;
|
|||
lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefView___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Command_MkInstanceName_collect___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__8___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__1;
|
||||
lean_object* l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__3;
|
||||
lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__25;
|
||||
static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__9;
|
||||
|
|
@ -228,16 +232,16 @@ lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Elab_expandOptNamedPrio___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfTheorem_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__1(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_11__match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_isDefLike___closed__3;
|
||||
lean_object* l_Lean_Elab_instBEqDefKind;
|
||||
lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId;
|
||||
static lean_object* l_Lean_Elab_Command_isDefLike___closed__5;
|
||||
lean_object* l_Lean_Elab_DefKind_isExample___boxed(lean_object*);
|
||||
lean_object* l_Lean_Elab_toAttributeKind___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__4___rarg___closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__2;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_DefKind_isTheorem_match__1___rarg(uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -265,10 +269,13 @@ static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__3;
|
|||
lean_object* l_Lean_Elab_Command_mkDefViewOfInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_isDefLike___closed__7;
|
||||
static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__7;
|
||||
lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_11__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_main(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_MkInstanceName_main___spec__8(lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_11_(uint8_t, uint8_t);
|
||||
static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__22;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkDefViewOfConstant___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__4;
|
||||
static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__33;
|
||||
static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__14;
|
||||
lean_object* l_Lean_Elab_mkUnusedBaseName(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -284,6 +291,294 @@ x_1 = 0;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_11__match__1___rarg(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
switch (x_1) {
|
||||
case 0:
|
||||
{
|
||||
lean_object* x_9;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
x_9 = lean_box(x_2);
|
||||
if (lean_obj_tag(x_9) == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11;
|
||||
lean_dec(x_8);
|
||||
x_10 = lean_box(0);
|
||||
x_11 = lean_apply_1(x_3, x_10);
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_3);
|
||||
x_12 = lean_box(x_1);
|
||||
x_13 = lean_box(x_2);
|
||||
x_14 = lean_apply_2(x_8, x_12, x_13);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
lean_object* x_15;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_3);
|
||||
x_15 = lean_box(x_2);
|
||||
if (lean_obj_tag(x_15) == 1)
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17;
|
||||
lean_dec(x_8);
|
||||
x_16 = lean_box(0);
|
||||
x_17 = lean_apply_1(x_4, x_16);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_4);
|
||||
x_18 = lean_box(x_1);
|
||||
x_19 = lean_box(x_2);
|
||||
x_20 = lean_apply_2(x_8, x_18, x_19);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
lean_object* x_21;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_21 = lean_box(x_2);
|
||||
if (lean_obj_tag(x_21) == 2)
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23;
|
||||
lean_dec(x_8);
|
||||
x_22 = lean_box(0);
|
||||
x_23 = lean_apply_1(x_5, x_22);
|
||||
return x_23;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_24; lean_object* x_25; lean_object* x_26;
|
||||
lean_dec(x_21);
|
||||
lean_dec(x_5);
|
||||
x_24 = lean_box(x_1);
|
||||
x_25 = lean_box(x_2);
|
||||
x_26 = lean_apply_2(x_8, x_24, x_25);
|
||||
return x_26;
|
||||
}
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
lean_object* x_27;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_27 = lean_box(x_2);
|
||||
if (lean_obj_tag(x_27) == 3)
|
||||
{
|
||||
lean_object* x_28; lean_object* x_29;
|
||||
lean_dec(x_8);
|
||||
x_28 = lean_box(0);
|
||||
x_29 = lean_apply_1(x_6, x_28);
|
||||
return x_29;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
lean_dec(x_27);
|
||||
lean_dec(x_6);
|
||||
x_30 = lean_box(x_1);
|
||||
x_31 = lean_box(x_2);
|
||||
x_32 = lean_apply_2(x_8, x_30, x_31);
|
||||
return x_32;
|
||||
}
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_33;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_33 = lean_box(x_2);
|
||||
if (lean_obj_tag(x_33) == 4)
|
||||
{
|
||||
lean_object* x_34; lean_object* x_35;
|
||||
lean_dec(x_8);
|
||||
x_34 = lean_box(0);
|
||||
x_35 = lean_apply_1(x_7, x_34);
|
||||
return x_35;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_36; lean_object* x_37; lean_object* x_38;
|
||||
lean_dec(x_33);
|
||||
lean_dec(x_7);
|
||||
x_36 = lean_box(x_1);
|
||||
x_37 = lean_box(x_2);
|
||||
x_38 = lean_apply_2(x_8, x_36, x_37);
|
||||
return x_38;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_11__match__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_11__match__1___rarg___boxed), 8, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_11__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_9; uint8_t x_10; lean_object* x_11;
|
||||
x_9 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_10 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_11 = l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_11__match__1___rarg(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
uint8_t l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_11_(uint8_t x_1, uint8_t x_2) {
|
||||
_start:
|
||||
{
|
||||
switch (x_1) {
|
||||
case 0:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_box(x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
x_4 = 1;
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_5;
|
||||
lean_dec(x_3);
|
||||
x_5 = 0;
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
lean_object* x_6;
|
||||
x_6 = lean_box(x_2);
|
||||
if (lean_obj_tag(x_6) == 1)
|
||||
{
|
||||
uint8_t x_7;
|
||||
x_7 = 1;
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_8;
|
||||
lean_dec(x_6);
|
||||
x_8 = 0;
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
lean_object* x_9;
|
||||
x_9 = lean_box(x_2);
|
||||
if (lean_obj_tag(x_9) == 2)
|
||||
{
|
||||
uint8_t x_10;
|
||||
x_10 = 1;
|
||||
return x_10;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_11;
|
||||
lean_dec(x_9);
|
||||
x_11 = 0;
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
lean_object* x_12;
|
||||
x_12 = lean_box(x_2);
|
||||
if (lean_obj_tag(x_12) == 3)
|
||||
{
|
||||
uint8_t x_13;
|
||||
x_13 = 1;
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_14;
|
||||
lean_dec(x_12);
|
||||
x_14 = 0;
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_15;
|
||||
x_15 = lean_box(x_2);
|
||||
if (lean_obj_tag(x_15) == 4)
|
||||
{
|
||||
uint8_t x_16;
|
||||
x_16 = 1;
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_17;
|
||||
lean_dec(x_15);
|
||||
x_17 = 0;
|
||||
return x_17;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_11____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6;
|
||||
x_3 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_5 = l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_11_(x_3, x_4);
|
||||
x_6 = lean_box(x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instBEqDefKind___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_11____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instBEqDefKind() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Elab_instBEqDefKind___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_DefKind_isTheorem_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -7537,7 +7832,7 @@ lean_dec(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -7545,17 +7840,17 @@ x_1 = lean_mk_string("Elab");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__2() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__1;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__3() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -7563,21 +7858,21 @@ x_1 = lean_mk_string("definition");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__4() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__2;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__2;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__4;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__4;
|
||||
x_3 = l_Lean_registerTraceClass(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -7628,6 +7923,10 @@ res = initialize_Lean_Elab_DeclUtil(lean_io_mk_world());
|
|||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Elab_instInhabitedDefKind = _init_l_Lean_Elab_instInhabitedDefKind();
|
||||
l_Lean_Elab_instBEqDefKind___closed__1 = _init_l_Lean_Elab_instBEqDefKind___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_instBEqDefKind___closed__1);
|
||||
l_Lean_Elab_instBEqDefKind = _init_l_Lean_Elab_instBEqDefKind();
|
||||
lean_mark_persistent(l_Lean_Elab_instBEqDefKind);
|
||||
l_Lean_Elab_instInhabitedDefView___closed__1 = _init_l_Lean_Elab_instInhabitedDefView___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_instInhabitedDefView___closed__1);
|
||||
l_Lean_Elab_instInhabitedDefView___closed__2 = _init_l_Lean_Elab_instInhabitedDefView___closed__2();
|
||||
|
|
@ -7806,15 +8105,15 @@ l_Lean_Elab_Command_mkDefView___closed__1 = _init_l_Lean_Elab_Command_mkDefView_
|
|||
lean_mark_persistent(l_Lean_Elab_Command_mkDefView___closed__1);
|
||||
l_Lean_Elab_Command_mkDefView___closed__2 = _init_l_Lean_Elab_Command_mkDefView___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_mkDefView___closed__2);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__1);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__2);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__3);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241____closed__4);
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1241_(lean_io_mk_world());
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__1);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__2);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__3);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294____closed__4);
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1294_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
16
stage0/stdlib/Lean/Elab/Deriving/BEq.c
generated
16
stage0/stdlib/Lean/Elab/Deriving/BEq.c
generated
|
|
@ -167,6 +167,7 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_m
|
|||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__3;
|
||||
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__5___lambda__1___closed__7;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__5;
|
||||
static lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__9;
|
||||
static lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__5;
|
||||
|
|
@ -194,7 +195,6 @@ static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_BEq_mkMatch_
|
|||
lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_mkInductArgNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__5___lambda__1___closed__2;
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__12;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__3;
|
||||
static lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__19;
|
||||
lean_object* lean_mk_syntax_ident(lean_object*);
|
||||
|
|
@ -807,7 +807,7 @@ x_67 = lean_usize_of_nat(x_66);
|
|||
lean_dec(x_66);
|
||||
x_68 = 0;
|
||||
x_69 = x_41;
|
||||
x_70 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_67, x_68, x_69);
|
||||
x_70 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_67, x_68, x_69);
|
||||
x_71 = x_70;
|
||||
x_72 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17;
|
||||
x_73 = l_Lean_mkSepArray(x_71, x_72);
|
||||
|
|
@ -849,7 +849,7 @@ x_90 = lean_usize_of_nat(x_89);
|
|||
lean_dec(x_89);
|
||||
x_91 = 0;
|
||||
x_92 = x_41;
|
||||
x_93 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_90, x_91, x_92);
|
||||
x_93 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_90, x_91, x_92);
|
||||
x_94 = x_93;
|
||||
x_95 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17;
|
||||
x_96 = l_Lean_mkSepArray(x_94, x_95);
|
||||
|
|
@ -2270,7 +2270,7 @@ x_111 = lean_usize_of_nat(x_110);
|
|||
lean_dec(x_110);
|
||||
x_112 = 0;
|
||||
x_113 = x_99;
|
||||
x_114 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_111, x_112, x_113);
|
||||
x_114 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_111, x_112, x_113);
|
||||
x_115 = x_114;
|
||||
x_116 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17;
|
||||
x_117 = l_Lean_mkSepArray(x_115, x_116);
|
||||
|
|
@ -2311,7 +2311,7 @@ x_133 = lean_usize_of_nat(x_132);
|
|||
lean_dec(x_132);
|
||||
x_134 = 0;
|
||||
x_135 = x_99;
|
||||
x_136 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_133, x_134, x_135);
|
||||
x_136 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_133, x_134, x_135);
|
||||
x_137 = x_136;
|
||||
x_138 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17;
|
||||
x_139 = l_Lean_mkSepArray(x_137, x_138);
|
||||
|
|
@ -2529,7 +2529,7 @@ x_220 = lean_usize_of_nat(x_219);
|
|||
lean_dec(x_219);
|
||||
x_221 = 0;
|
||||
x_222 = x_208;
|
||||
x_223 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_220, x_221, x_222);
|
||||
x_223 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_220, x_221, x_222);
|
||||
x_224 = x_223;
|
||||
x_225 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17;
|
||||
x_226 = l_Lean_mkSepArray(x_224, x_225);
|
||||
|
|
@ -3055,7 +3055,7 @@ x_28 = lean_usize_of_nat(x_27);
|
|||
lean_dec(x_27);
|
||||
x_29 = 0;
|
||||
x_30 = x_12;
|
||||
x_31 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_28, x_29, x_30);
|
||||
x_31 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_28, x_29, x_30);
|
||||
x_32 = x_31;
|
||||
x_33 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17;
|
||||
x_34 = l_Lean_mkSepArray(x_32, x_33);
|
||||
|
|
@ -3111,7 +3111,7 @@ x_61 = lean_usize_of_nat(x_60);
|
|||
lean_dec(x_60);
|
||||
x_62 = 0;
|
||||
x_63 = x_12;
|
||||
x_64 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_61, x_62, x_63);
|
||||
x_64 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_61, x_62, x_63);
|
||||
x_65 = x_64;
|
||||
x_66 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17;
|
||||
x_67 = l_Lean_mkSepArray(x_65, x_66);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Deriving/Basic.c
generated
4
stage0/stdlib/Lean/Elab/Deriving/Basic.c
generated
|
|
@ -171,10 +171,10 @@ lean_object* l_Lean_Elab_elabDeriving_match__1(lean_object*);
|
|||
lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_elabDeriving___lambda__2(lean_object*);
|
||||
lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_elabDeriving_match__3___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_elabDeriving_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Syntax_isNone(lean_object*);
|
||||
lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_elabDeriving(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_registerBuiltinDerivingHandler(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getOptDerivingClasses___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -3268,7 +3268,7 @@ block_66:
|
|||
{
|
||||
lean_object* x_33; lean_object* x_34;
|
||||
x_33 = l_Lean_Elab_elabDeriving___closed__11;
|
||||
x_34 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__1(x_32, x_33);
|
||||
x_34 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__1(x_32, x_33);
|
||||
lean_dec(x_32);
|
||||
if (lean_obj_tag(x_34) == 0)
|
||||
{
|
||||
|
|
|
|||
14
stage0/stdlib/Lean/Elab/Deriving/DecEq.c
generated
14
stage0/stdlib/Lean/Elab/Deriving/DecEq.c
generated
|
|
@ -200,6 +200,7 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1
|
|||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__54;
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__12;
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__82;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__22;
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__86;
|
||||
|
|
@ -238,7 +239,6 @@ lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_mkInduc
|
|||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__76;
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__30;
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__18;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts_match__2___rarg(lean_object*, lean_object*);
|
||||
lean_object* lean_mk_syntax_ident(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__15;
|
||||
|
|
@ -3616,7 +3616,7 @@ x_98 = lean_usize_of_nat(x_97);
|
|||
lean_dec(x_97);
|
||||
x_99 = 0;
|
||||
x_100 = x_82;
|
||||
x_101 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_98, x_99, x_100);
|
||||
x_101 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_98, x_99, x_100);
|
||||
x_102 = x_101;
|
||||
x_103 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10;
|
||||
x_104 = l_Lean_mkSepArray(x_102, x_103);
|
||||
|
|
@ -3657,7 +3657,7 @@ x_120 = lean_usize_of_nat(x_119);
|
|||
lean_dec(x_119);
|
||||
x_121 = 0;
|
||||
x_122 = x_82;
|
||||
x_123 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_120, x_121, x_122);
|
||||
x_123 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_120, x_121, x_122);
|
||||
x_124 = x_123;
|
||||
x_125 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10;
|
||||
x_126 = l_Lean_mkSepArray(x_124, x_125);
|
||||
|
|
@ -3927,7 +3927,7 @@ x_216 = lean_usize_of_nat(x_215);
|
|||
lean_dec(x_215);
|
||||
x_217 = 0;
|
||||
x_218 = x_200;
|
||||
x_219 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_216, x_217, x_218);
|
||||
x_219 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_216, x_217, x_218);
|
||||
x_220 = x_219;
|
||||
x_221 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10;
|
||||
x_222 = l_Lean_mkSepArray(x_220, x_221);
|
||||
|
|
@ -4453,7 +4453,7 @@ x_168 = lean_usize_of_nat(x_167);
|
|||
lean_dec(x_167);
|
||||
x_169 = 0;
|
||||
x_170 = x_78;
|
||||
x_171 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_168, x_169, x_170);
|
||||
x_171 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_168, x_169, x_170);
|
||||
x_172 = x_171;
|
||||
x_173 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10;
|
||||
x_174 = l_Lean_mkSepArray(x_172, x_173);
|
||||
|
|
@ -5008,7 +5008,7 @@ x_29 = lean_usize_of_nat(x_28);
|
|||
lean_dec(x_28);
|
||||
x_30 = 0;
|
||||
x_31 = x_13;
|
||||
x_32 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_29, x_30, x_31);
|
||||
x_32 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_29, x_30, x_31);
|
||||
x_33 = x_32;
|
||||
x_34 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10;
|
||||
x_35 = l_Lean_mkSepArray(x_33, x_34);
|
||||
|
|
@ -5064,7 +5064,7 @@ x_62 = lean_usize_of_nat(x_61);
|
|||
lean_dec(x_61);
|
||||
x_63 = 0;
|
||||
x_64 = x_13;
|
||||
x_65 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_62, x_63, x_64);
|
||||
x_65 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_62, x_63, x_64);
|
||||
x_66 = x_65;
|
||||
x_67 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10;
|
||||
x_68 = l_Lean_mkSepArray(x_66, x_67);
|
||||
|
|
|
|||
24
stage0/stdlib/Lean/Elab/Deriving/FromToJson.c
generated
24
stage0/stdlib/Lean/Elab/Deriving/FromToJson.c
generated
|
|
@ -324,6 +324,7 @@ lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_match__3___
|
|||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_append(lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4___closed__2;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__10;
|
||||
static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__6;
|
||||
lean_object* l_Lean_Elab_Deriving_FromToJson_mkJsonField(lean_object*);
|
||||
|
|
@ -385,7 +386,6 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mk
|
|||
uint8_t l_Array_qsort_sort___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__2;
|
||||
static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__19;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___lambda__1___closed__3;
|
||||
static lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_5002____closed__2;
|
||||
static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__22;
|
||||
|
|
@ -1578,7 +1578,7 @@ x_77 = lean_usize_of_nat(x_76);
|
|||
lean_dec(x_76);
|
||||
x_78 = 0;
|
||||
x_79 = x_61;
|
||||
x_80 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_77, x_78, x_79);
|
||||
x_80 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_77, x_78, x_79);
|
||||
x_81 = x_80;
|
||||
x_82 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__15;
|
||||
x_83 = l_Lean_mkSepArray(x_81, x_82);
|
||||
|
|
@ -1619,7 +1619,7 @@ x_99 = lean_usize_of_nat(x_98);
|
|||
lean_dec(x_98);
|
||||
x_100 = 0;
|
||||
x_101 = x_61;
|
||||
x_102 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_99, x_100, x_101);
|
||||
x_102 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_99, x_100, x_101);
|
||||
x_103 = x_102;
|
||||
x_104 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__15;
|
||||
x_105 = l_Lean_mkSepArray(x_103, x_104);
|
||||
|
|
@ -3867,7 +3867,7 @@ x_81 = lean_array_get_size(x_28);
|
|||
x_82 = lean_usize_of_nat(x_81);
|
||||
lean_dec(x_81);
|
||||
x_83 = x_28;
|
||||
x_84 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_82, x_21, x_83);
|
||||
x_84 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_82, x_21, x_83);
|
||||
x_85 = x_84;
|
||||
x_86 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__15;
|
||||
x_87 = l_Lean_mkSepArray(x_85, x_86);
|
||||
|
|
@ -4046,7 +4046,7 @@ x_179 = lean_array_get_size(x_28);
|
|||
x_180 = lean_usize_of_nat(x_179);
|
||||
lean_dec(x_179);
|
||||
x_181 = x_28;
|
||||
x_182 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_180, x_21, x_181);
|
||||
x_182 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_180, x_21, x_181);
|
||||
x_183 = x_182;
|
||||
x_184 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__15;
|
||||
x_185 = l_Lean_mkSepArray(x_183, x_184);
|
||||
|
|
@ -4266,7 +4266,7 @@ x_285 = lean_usize_of_nat(x_284);
|
|||
lean_dec(x_284);
|
||||
x_286 = 0;
|
||||
x_287 = x_241;
|
||||
x_288 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_285, x_286, x_287);
|
||||
x_288 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_285, x_286, x_287);
|
||||
x_289 = x_288;
|
||||
x_290 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__15;
|
||||
x_291 = l_Lean_mkSepArray(x_289, x_290);
|
||||
|
|
@ -4420,7 +4420,7 @@ x_371 = lean_usize_of_nat(x_370);
|
|||
lean_dec(x_370);
|
||||
x_372 = 0;
|
||||
x_373 = x_241;
|
||||
x_374 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_371, x_372, x_373);
|
||||
x_374 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_371, x_372, x_373);
|
||||
x_375 = x_374;
|
||||
x_376 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__15;
|
||||
x_377 = l_Lean_mkSepArray(x_375, x_376);
|
||||
|
|
@ -5049,7 +5049,7 @@ x_685 = lean_usize_of_nat(x_684);
|
|||
lean_dec(x_684);
|
||||
x_686 = 0;
|
||||
x_687 = x_642;
|
||||
x_688 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_685, x_686, x_687);
|
||||
x_688 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_685, x_686, x_687);
|
||||
x_689 = x_688;
|
||||
x_690 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__15;
|
||||
x_691 = l_Lean_mkSepArray(x_689, x_690);
|
||||
|
|
@ -5201,7 +5201,7 @@ x_769 = lean_usize_of_nat(x_768);
|
|||
lean_dec(x_768);
|
||||
x_770 = 0;
|
||||
x_771 = x_642;
|
||||
x_772 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_769, x_770, x_771);
|
||||
x_772 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_769, x_770, x_771);
|
||||
x_773 = x_772;
|
||||
x_774 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__15;
|
||||
x_775 = l_Lean_mkSepArray(x_773, x_774);
|
||||
|
|
@ -5398,7 +5398,7 @@ x_868 = lean_usize_of_nat(x_867);
|
|||
lean_dec(x_867);
|
||||
x_869 = 0;
|
||||
x_870 = x_823;
|
||||
x_871 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_868, x_869, x_870);
|
||||
x_871 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_868, x_869, x_870);
|
||||
x_872 = x_871;
|
||||
x_873 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__15;
|
||||
x_874 = l_Lean_mkSepArray(x_872, x_873);
|
||||
|
|
@ -6074,7 +6074,7 @@ x_46 = lean_usize_of_nat(x_45);
|
|||
lean_dec(x_45);
|
||||
x_47 = 0;
|
||||
x_48 = x_29;
|
||||
x_49 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_46, x_47, x_48);
|
||||
x_49 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_46, x_47, x_48);
|
||||
x_50 = x_49;
|
||||
x_51 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__15;
|
||||
x_52 = l_Lean_mkSepArray(x_50, x_51);
|
||||
|
|
@ -9856,7 +9856,7 @@ x_74 = lean_array_get_size(x_73);
|
|||
x_75 = lean_usize_of_nat(x_74);
|
||||
lean_dec(x_74);
|
||||
x_76 = x_73;
|
||||
x_77 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_75, x_26, x_76);
|
||||
x_77 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_75, x_26, x_76);
|
||||
x_78 = x_77;
|
||||
x_79 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__15;
|
||||
x_80 = l_Lean_mkSepArray(x_78, x_79);
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Elab/Deriving/Hashable.c
generated
10
stage0/stdlib/Lean/Elab/Deriving/Hashable.c
generated
|
|
@ -162,6 +162,7 @@ lean_object* l_Lean_Elab_Deriving_Hashable_mkHashableHeader(lean_object*);
|
|||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__19;
|
||||
lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__3___closed__6;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction___closed__11;
|
||||
static lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction___closed__7;
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__3___closed__1;
|
||||
|
|
@ -187,7 +188,6 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMa
|
|||
lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_mkInductArgNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__3___closed__2;
|
||||
static lean_object* l_Lean_Elab_Deriving_Hashable_mkHashFuncs___closed__2;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction___closed__26;
|
||||
lean_object* lean_mk_syntax_ident(lean_object*);
|
||||
extern lean_object* l_Lean_instInhabitedInductiveVal;
|
||||
|
|
@ -1552,7 +1552,7 @@ x_85 = lean_usize_of_nat(x_84);
|
|||
lean_dec(x_84);
|
||||
x_86 = 0;
|
||||
x_87 = x_73;
|
||||
x_88 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_85, x_86, x_87);
|
||||
x_88 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_85, x_86, x_87);
|
||||
x_89 = x_88;
|
||||
x_90 = l_List_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__5___lambda__1___closed__10;
|
||||
x_91 = l_Lean_mkSepArray(x_89, x_90);
|
||||
|
|
@ -1593,7 +1593,7 @@ x_107 = lean_usize_of_nat(x_106);
|
|||
lean_dec(x_106);
|
||||
x_108 = 0;
|
||||
x_109 = x_73;
|
||||
x_110 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_107, x_108, x_109);
|
||||
x_110 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_107, x_108, x_109);
|
||||
x_111 = x_110;
|
||||
x_112 = l_List_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__5___lambda__1___closed__10;
|
||||
x_113 = l_Lean_mkSepArray(x_111, x_112);
|
||||
|
|
@ -2153,7 +2153,7 @@ x_29 = lean_usize_of_nat(x_28);
|
|||
lean_dec(x_28);
|
||||
x_30 = 0;
|
||||
x_31 = x_13;
|
||||
x_32 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_29, x_30, x_31);
|
||||
x_32 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_29, x_30, x_31);
|
||||
x_33 = x_32;
|
||||
x_34 = l_List_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__5___lambda__1___closed__10;
|
||||
x_35 = l_Lean_mkSepArray(x_33, x_34);
|
||||
|
|
@ -2209,7 +2209,7 @@ x_62 = lean_usize_of_nat(x_61);
|
|||
lean_dec(x_61);
|
||||
x_63 = 0;
|
||||
x_64 = x_13;
|
||||
x_65 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_62, x_63, x_64);
|
||||
x_65 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_62, x_63, x_64);
|
||||
x_66 = x_65;
|
||||
x_67 = l_List_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__5___lambda__1___closed__10;
|
||||
x_68 = l_Lean_mkSepArray(x_66, x_67);
|
||||
|
|
|
|||
20
stage0/stdlib/Lean/Elab/Deriving/Ord.c
generated
20
stage0/stdlib/Lean/Elab/Deriving/Ord.c
generated
|
|
@ -175,6 +175,7 @@ static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed_
|
|||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_Ord_mkOrdHeader___rarg___closed__1;
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__9;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Deriving_Ord_mkOrdHeader___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__2;
|
||||
|
|
@ -204,7 +205,6 @@ static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed_
|
|||
lean_object* l_Lean_Elab_Deriving_Ord_mkMatch___rarg(lean_object*, 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_Ord_mkMatch_mkAlts___spec__6___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*);
|
||||
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__27;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(size_t, size_t, lean_object*);
|
||||
lean_object* lean_mk_syntax_ident(lean_object*);
|
||||
extern lean_object* l_Lean_instInhabitedInductiveVal;
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2163,7 +2163,7 @@ x_142 = lean_usize_of_nat(x_141);
|
|||
lean_dec(x_141);
|
||||
x_143 = 0;
|
||||
x_144 = x_103;
|
||||
x_145 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_142, x_143, x_144);
|
||||
x_145 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_142, x_143, x_144);
|
||||
x_146 = x_145;
|
||||
x_147 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__16;
|
||||
x_148 = l_Lean_mkSepArray(x_146, x_147);
|
||||
|
|
@ -2213,7 +2213,7 @@ x_170 = lean_array_get_size(x_118);
|
|||
x_171 = lean_usize_of_nat(x_170);
|
||||
lean_dec(x_170);
|
||||
x_172 = x_118;
|
||||
x_173 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_171, x_143, x_172);
|
||||
x_173 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_171, x_143, x_172);
|
||||
x_174 = x_173;
|
||||
x_175 = l_Lean_mkSepArray(x_174, x_147);
|
||||
lean_dec(x_174);
|
||||
|
|
@ -2273,7 +2273,7 @@ x_199 = lean_array_get_size(x_131);
|
|||
x_200 = lean_usize_of_nat(x_199);
|
||||
lean_dec(x_199);
|
||||
x_201 = x_131;
|
||||
x_202 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_200, x_143, x_201);
|
||||
x_202 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_200, x_143, x_201);
|
||||
x_203 = x_202;
|
||||
x_204 = l_Lean_mkSepArray(x_203, x_147);
|
||||
lean_dec(x_203);
|
||||
|
|
@ -2324,7 +2324,7 @@ x_225 = lean_array_get_size(x_131);
|
|||
x_226 = lean_usize_of_nat(x_225);
|
||||
lean_dec(x_225);
|
||||
x_227 = x_131;
|
||||
x_228 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_226, x_143, x_227);
|
||||
x_228 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_226, x_143, x_227);
|
||||
x_229 = x_228;
|
||||
x_230 = l_Lean_mkSepArray(x_229, x_147);
|
||||
lean_dec(x_229);
|
||||
|
|
@ -2601,7 +2601,7 @@ x_348 = lean_usize_of_nat(x_347);
|
|||
lean_dec(x_347);
|
||||
x_349 = 0;
|
||||
x_350 = x_309;
|
||||
x_351 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_348, x_349, x_350);
|
||||
x_351 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_348, x_349, x_350);
|
||||
x_352 = x_351;
|
||||
x_353 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__16;
|
||||
x_354 = l_Lean_mkSepArray(x_352, x_353);
|
||||
|
|
@ -2651,7 +2651,7 @@ x_376 = lean_array_get_size(x_324);
|
|||
x_377 = lean_usize_of_nat(x_376);
|
||||
lean_dec(x_376);
|
||||
x_378 = x_324;
|
||||
x_379 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_377, x_349, x_378);
|
||||
x_379 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_377, x_349, x_378);
|
||||
x_380 = x_379;
|
||||
x_381 = l_Lean_mkSepArray(x_380, x_353);
|
||||
lean_dec(x_380);
|
||||
|
|
@ -2718,7 +2718,7 @@ x_406 = lean_array_get_size(x_337);
|
|||
x_407 = lean_usize_of_nat(x_406);
|
||||
lean_dec(x_406);
|
||||
x_408 = x_337;
|
||||
x_409 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_407, x_349, x_408);
|
||||
x_409 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_407, x_349, x_408);
|
||||
x_410 = x_409;
|
||||
x_411 = l_Lean_mkSepArray(x_410, x_353);
|
||||
lean_dec(x_410);
|
||||
|
|
@ -3215,7 +3215,7 @@ x_28 = lean_usize_of_nat(x_27);
|
|||
lean_dec(x_27);
|
||||
x_29 = 0;
|
||||
x_30 = x_12;
|
||||
x_31 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_28, x_29, x_30);
|
||||
x_31 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_28, x_29, x_30);
|
||||
x_32 = x_31;
|
||||
x_33 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__16;
|
||||
x_34 = l_Lean_mkSepArray(x_32, x_33);
|
||||
|
|
@ -3271,7 +3271,7 @@ x_61 = lean_usize_of_nat(x_60);
|
|||
lean_dec(x_60);
|
||||
x_62 = 0;
|
||||
x_63 = x_12;
|
||||
x_64 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_61, x_62, x_63);
|
||||
x_64 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_61, x_62, x_63);
|
||||
x_65 = x_64;
|
||||
x_66 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__1___closed__16;
|
||||
x_67 = l_Lean_mkSepArray(x_65, x_66);
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Elab/Deriving/Repr.c
generated
10
stage0/stdlib/Lean/Elab/Deriving/Repr.c
generated
|
|
@ -222,6 +222,7 @@ static lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__2
|
|||
static lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__25;
|
||||
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__35;
|
||||
lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts_match__1(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__29;
|
||||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -269,7 +270,6 @@ lean_object* l_List_head_x21___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec
|
|||
static lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__13;
|
||||
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__11;
|
||||
static lean_object* l_List_head_x21___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__1___closed__2;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__5;
|
||||
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__31;
|
||||
static lean_object* l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__8;
|
||||
|
|
@ -4304,7 +4304,7 @@ x_99 = lean_usize_of_nat(x_98);
|
|||
lean_dec(x_98);
|
||||
x_100 = 0;
|
||||
x_101 = x_86;
|
||||
x_102 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_99, x_100, x_101);
|
||||
x_102 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_99, x_100, x_101);
|
||||
x_103 = x_102;
|
||||
x_104 = l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__16;
|
||||
x_105 = l_Lean_mkSepArray(x_103, x_104);
|
||||
|
|
@ -4555,7 +4555,7 @@ x_226 = lean_usize_of_nat(x_225);
|
|||
lean_dec(x_225);
|
||||
x_227 = 0;
|
||||
x_228 = x_86;
|
||||
x_229 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_226, x_227, x_228);
|
||||
x_229 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_226, x_227, x_228);
|
||||
x_230 = x_229;
|
||||
x_231 = l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__16;
|
||||
x_232 = l_Lean_mkSepArray(x_230, x_231);
|
||||
|
|
@ -5197,7 +5197,7 @@ x_28 = lean_usize_of_nat(x_27);
|
|||
lean_dec(x_27);
|
||||
x_29 = 0;
|
||||
x_30 = x_12;
|
||||
x_31 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_28, x_29, x_30);
|
||||
x_31 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_28, x_29, x_30);
|
||||
x_32 = x_31;
|
||||
x_33 = l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__16;
|
||||
x_34 = l_Lean_mkSepArray(x_32, x_33);
|
||||
|
|
@ -5253,7 +5253,7 @@ x_61 = lean_usize_of_nat(x_60);
|
|||
lean_dec(x_60);
|
||||
x_62 = 0;
|
||||
x_63 = x_12;
|
||||
x_64 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_61, x_62, x_63);
|
||||
x_64 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_61, x_62, x_63);
|
||||
x_65 = x_64;
|
||||
x_66 = l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__16;
|
||||
x_67 = l_Lean_mkSepArray(x_65, x_66);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/ElabRules.c
generated
4
stage0/stdlib/Lean/Elab/ElabRules.c
generated
|
|
@ -239,6 +239,7 @@ lean_object* l_Lean_Name_append(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__105;
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__85;
|
||||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16;
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___rarg(lean_object*);
|
||||
lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -279,7 +280,6 @@ static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9
|
|||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81;
|
||||
lean_object* l_Lean_Elab_Command_expandElab(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(size_t, size_t, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandElab___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77;
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__117;
|
||||
|
|
@ -6477,7 +6477,7 @@ x_69 = lean_array_get_size(x_4);
|
|||
x_70 = lean_usize_of_nat(x_69);
|
||||
lean_dec(x_69);
|
||||
x_71 = x_4;
|
||||
x_72 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_70, x_5, x_71);
|
||||
x_72 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_70, x_5, x_71);
|
||||
x_73 = x_72;
|
||||
x_74 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4;
|
||||
x_75 = l_Array_append___rarg(x_74, x_73);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Macro.c
generated
4
stage0/stdlib/Lean/Elab/Macro.c
generated
|
|
@ -89,6 +89,7 @@ static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__24;
|
|||
static lean_object* l_Lean_Elab_Command_expandMacro___closed__7;
|
||||
lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
||||
lean_object* l_Lean_Name_append(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMacro___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__10;
|
||||
static lean_object* l_Lean_Elab_Command_expandMacro___lambda__6___closed__1;
|
||||
|
|
@ -105,7 +106,6 @@ static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__11;
|
|||
lean_object* l_Lean_Elab_Command_expandMacro___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandMacro___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMacro___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_expandMacro___lambda__2___closed__26;
|
||||
|
|
@ -644,7 +644,7 @@ x_206 = lean_array_get_size(x_8);
|
|||
x_207 = lean_usize_of_nat(x_206);
|
||||
lean_dec(x_206);
|
||||
x_208 = x_8;
|
||||
x_209 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_207, x_9, x_208);
|
||||
x_209 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_207, x_9, x_208);
|
||||
x_210 = x_209;
|
||||
x_211 = l_Lean_Elab_Command_expandMacro___lambda__2___closed__4;
|
||||
x_212 = l_Array_append___rarg(x_211, x_210);
|
||||
|
|
|
|||
14
stage0/stdlib/Lean/Elab/Match.c
generated
14
stage0/stdlib/Lean/Elab/Match.c
generated
|
|
@ -635,6 +635,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__3;
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabMVarWithIdKind___closed__5;
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___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___private_Lean_Elab_Match_0__Lean_Elab_Term_eraseIndices___boxed__const__1;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(size_t, size_t, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_match__1___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_precheckMatch___closed__1;
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -706,6 +707,7 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___lambda__
|
|||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___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*);
|
||||
extern lean_object* l_Lean_instInhabitedName;
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_8204____closed__4;
|
||||
lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__6(size_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* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -714,7 +716,6 @@ lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*);
|
|||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS_match__1___rarg(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Syntax_isNone(lean_object*);
|
||||
lean_object* lean_name_mk_numeral(lean_object*, lean_object*);
|
||||
lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -758,7 +759,6 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLo
|
|||
lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___closed__2;
|
||||
lean_object* l_Lean_Meta_mkFreshTypeMVar(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -5813,7 +5813,7 @@ lean_dec(x_12);
|
|||
lean_dec(x_11);
|
||||
lean_dec(x_3);
|
||||
x_15 = l_Lean_Elab_Term_precheckMatch___lambda__3___closed__1;
|
||||
x_16 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__1(x_2, x_15);
|
||||
x_16 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__1(x_2, x_15);
|
||||
if (lean_obj_tag(x_16) == 0)
|
||||
{
|
||||
lean_object* x_17;
|
||||
|
|
@ -5867,7 +5867,7 @@ lean_dec(x_12);
|
|||
lean_dec(x_11);
|
||||
lean_dec(x_3);
|
||||
x_29 = l_Lean_Elab_Term_precheckMatch___lambda__3___closed__1;
|
||||
x_30 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__1(x_2, x_29);
|
||||
x_30 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__1(x_2, x_29);
|
||||
if (lean_obj_tag(x_30) == 0)
|
||||
{
|
||||
lean_object* x_31;
|
||||
|
|
@ -5922,7 +5922,7 @@ x_45 = lean_ctor_get(x_44, 1);
|
|||
lean_inc(x_45);
|
||||
lean_dec(x_44);
|
||||
x_46 = l_Lean_Elab_Term_precheckMatch___lambda__3___closed__1;
|
||||
x_47 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__1(x_45, x_46);
|
||||
x_47 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__1(x_45, x_46);
|
||||
lean_dec(x_45);
|
||||
if (lean_obj_tag(x_47) == 0)
|
||||
{
|
||||
|
|
@ -6113,7 +6113,7 @@ block_130:
|
|||
{
|
||||
lean_object* x_25; lean_object* x_26;
|
||||
x_25 = l_Lean_Elab_Term_precheckMatch___closed__2;
|
||||
x_26 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__1(x_24, x_25);
|
||||
x_26 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__1(x_24, x_25);
|
||||
lean_dec(x_24);
|
||||
if (lean_obj_tag(x_26) == 0)
|
||||
{
|
||||
|
|
@ -32587,7 +32587,7 @@ x_15 = lean_usize_of_nat(x_14);
|
|||
lean_dec(x_14);
|
||||
x_16 = 0;
|
||||
x_17 = x_13;
|
||||
x_18 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_15, x_16, x_17);
|
||||
x_18 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_15, x_16, x_17);
|
||||
x_19 = x_18;
|
||||
lean_inc(x_1);
|
||||
x_20 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f(x_1);
|
||||
|
|
|
|||
2469
stage0/stdlib/Lean/Elab/MutualDef.c
generated
2469
stage0/stdlib/Lean/Elab/MutualDef.c
generated
File diff suppressed because it is too large
Load diff
4
stage0/stdlib/Lean/Elab/Notation.c
generated
4
stage0/stdlib/Lean/Elab/Notation.c
generated
|
|
@ -201,6 +201,7 @@ lean_object* l_Lean_Name_append(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Macro_resolveGlobalName(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__2;
|
||||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandNotation_match__1___rarg___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__12;
|
||||
uint8_t l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___lambda__1(lean_object*, lean_object*);
|
||||
|
|
@ -233,7 +234,6 @@ static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__71;
|
|||
static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__7;
|
||||
lean_object* l_Lean_Elab_Command_expandNotation_match__1(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__24;
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_mk_syntax_ident(lean_object*);
|
||||
|
|
@ -8461,7 +8461,7 @@ x_170 = lean_array_get_size(x_9);
|
|||
x_171 = lean_usize_of_nat(x_170);
|
||||
lean_dec(x_170);
|
||||
x_172 = x_9;
|
||||
x_173 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_171, x_3, x_172);
|
||||
x_173 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_171, x_3, x_172);
|
||||
x_174 = x_173;
|
||||
x_175 = l_Lean_Elab_Command_mkSimpleDelab___closed__11;
|
||||
x_176 = l_Array_append___rarg(x_175, x_174);
|
||||
|
|
|
|||
20
stage0/stdlib/Lean/Elab/Quotation.c
generated
20
stage0/stdlib/Lean/Elab/Quotation.c
generated
|
|
@ -782,6 +782,7 @@ uint8_t l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_
|
|||
lean_object* l_Lean_Syntax_getAntiquotSpliceSuffix(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_MacroScopesView_review(lean_object*);
|
||||
static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__1;
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2895____closed__45;
|
||||
|
|
@ -858,6 +859,7 @@ extern lean_object* l_Lean_instInhabitedName;
|
|||
static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__6___closed__1;
|
||||
static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__11;
|
||||
static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5;
|
||||
lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___closed__6;
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___boxed(lean_object**);
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_2895____closed__55;
|
||||
|
|
@ -867,7 +869,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean
|
|||
lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_name_mk_numeral(lean_object*, lean_object*);
|
||||
lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__3;
|
||||
static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___lambda__2___closed__5;
|
||||
static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9___closed__22;
|
||||
|
|
@ -942,7 +943,6 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_
|
|||
static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__8;
|
||||
extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId;
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_______closed__15;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__11;
|
||||
static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__17;
|
||||
static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__2;
|
||||
|
|
@ -21796,7 +21796,7 @@ x_280 = lean_usize_of_nat(x_279);
|
|||
lean_dec(x_279);
|
||||
x_281 = 0;
|
||||
x_282 = x_209;
|
||||
x_283 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_280, x_281, x_282);
|
||||
x_283 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_280, x_281, x_282);
|
||||
x_284 = x_283;
|
||||
lean_inc(x_278);
|
||||
x_285 = l_Array_append___rarg(x_278, x_284);
|
||||
|
|
@ -22085,7 +22085,7 @@ x_435 = lean_usize_of_nat(x_434);
|
|||
lean_dec(x_434);
|
||||
x_436 = 0;
|
||||
x_437 = x_209;
|
||||
x_438 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_435, x_436, x_437);
|
||||
x_438 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_435, x_436, x_437);
|
||||
x_439 = x_438;
|
||||
lean_inc(x_433);
|
||||
x_440 = l_Array_append___rarg(x_433, x_439);
|
||||
|
|
@ -26976,7 +26976,7 @@ x_24 = l_Lean_Syntax_getArg(x_12, x_23);
|
|||
x_25 = l_Lean_Syntax_getArgs(x_24);
|
||||
lean_dec(x_24);
|
||||
x_26 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___closed__1;
|
||||
x_27 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__1(x_25, x_26);
|
||||
x_27 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__1(x_25, x_26);
|
||||
lean_dec(x_25);
|
||||
if (lean_obj_tag(x_27) == 0)
|
||||
{
|
||||
|
|
@ -27047,7 +27047,7 @@ x_45 = l_Lean_Syntax_getArg(x_33, x_44);
|
|||
x_46 = l_Lean_Syntax_getArgs(x_45);
|
||||
lean_dec(x_45);
|
||||
x_47 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___closed__1;
|
||||
x_48 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__1(x_46, x_47);
|
||||
x_48 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__1(x_46, x_47);
|
||||
lean_dec(x_46);
|
||||
if (lean_obj_tag(x_48) == 0)
|
||||
{
|
||||
|
|
@ -32344,7 +32344,7 @@ lean_dec(x_12);
|
|||
lean_dec(x_11);
|
||||
lean_dec(x_3);
|
||||
x_15 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__1;
|
||||
x_16 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__1(x_2, x_15);
|
||||
x_16 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__1(x_2, x_15);
|
||||
if (lean_obj_tag(x_16) == 0)
|
||||
{
|
||||
lean_object* x_17;
|
||||
|
|
@ -32398,7 +32398,7 @@ lean_dec(x_12);
|
|||
lean_dec(x_11);
|
||||
lean_dec(x_3);
|
||||
x_29 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__1;
|
||||
x_30 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__1(x_2, x_29);
|
||||
x_30 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__1(x_2, x_29);
|
||||
if (lean_obj_tag(x_30) == 0)
|
||||
{
|
||||
lean_object* x_31;
|
||||
|
|
@ -32453,7 +32453,7 @@ x_45 = lean_ctor_get(x_44, 1);
|
|||
lean_inc(x_45);
|
||||
lean_dec(x_44);
|
||||
x_46 = l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3___closed__1;
|
||||
x_47 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__1(x_45, x_46);
|
||||
x_47 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__1(x_45, x_46);
|
||||
lean_dec(x_45);
|
||||
if (lean_obj_tag(x_47) == 0)
|
||||
{
|
||||
|
|
@ -32826,7 +32826,7 @@ block_69:
|
|||
{
|
||||
lean_object* x_24; lean_object* x_25;
|
||||
x_24 = l_Lean_Elab_Term_Quotation_match__syntax_expand___closed__2;
|
||||
x_25 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__1(x_23, x_24);
|
||||
x_25 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__1(x_23, x_24);
|
||||
lean_dec(x_23);
|
||||
if (lean_obj_tag(x_25) == 0)
|
||||
{
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Syntax.c
generated
4
stage0/stdlib/Lean/Elab/Syntax.c
generated
|
|
@ -571,11 +571,11 @@ static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyn
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__3;
|
||||
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_throwError___at_Lean_Elab_Term_toParserDescr_process___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabSyntax_match__3(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__9;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__6;
|
||||
uint8_t l_Lean_Syntax_isNone(lean_object*);
|
||||
lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__5___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*);
|
||||
static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__53;
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__8___rarg(lean_object*);
|
||||
|
|
@ -17751,7 +17751,7 @@ x_17 = l_Lean_Syntax_getArg(x_1, x_16);
|
|||
x_18 = l_Lean_Syntax_getArgs(x_17);
|
||||
lean_dec(x_17);
|
||||
x_19 = l_Lean_Elab_Command_elabSyntax___lambda__7___closed__1;
|
||||
x_20 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__1(x_18, x_19);
|
||||
x_20 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__1(x_18, x_19);
|
||||
lean_dec(x_18);
|
||||
if (lean_obj_tag(x_20) == 0)
|
||||
{
|
||||
|
|
|
|||
2077
stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c
generated
2077
stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c
generated
File diff suppressed because it is too large
Load diff
623
stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c
generated
623
stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c
generated
|
|
@ -18,6 +18,7 @@ lean_object* l_Lean_Meta_assert(lean_object*, lean_object*, lean_object*, lean_o
|
|||
lean_object* l_Std_PersistentArray_findSomeRevM_x3f___at_Lean_Elab_Tactic_evalRename___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalApplyLikeTactic(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_compileDecl___at_Lean_Elab_Term_evalExpr___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalRename___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_Elab_Tactic_evalApplyLikeTactic___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t l_USize_add(size_t, size_t);
|
||||
lean_object* l_Lean_Elab_Tactic_evalWithReducibleAndInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -33,7 +34,6 @@ static lean_object* l_Lean_Elab_Tactic_elabAsFVar___lambda__1___closed__1;
|
|||
lean_object* l_Std_PersistentArray_findSomeRevM_x3f___at_Lean_Elab_Tactic_evalRename___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDecide___closed__2;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_elabTermWithHoles___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
uint8_t l_USize_decEq(size_t, size_t);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExact(lean_object*);
|
||||
|
|
@ -41,6 +41,7 @@ lean_object* lean_array_uget(lean_object*, size_t);
|
|||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalNativeDecide(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_elabTermForApply_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_throwAbortTactic___at___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_logUnassignedAndAbort___spec__1___rarg(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalWithReducible(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducible___closed__3;
|
||||
lean_object* l_Lean_Elab_Tactic_closeMainGoalUsing___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -48,12 +49,12 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducible___closed__
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndInstances___closed__3;
|
||||
uint8_t l_Lean_MetavarKind_isNatural(uint8_t);
|
||||
lean_object* l_Lean_Elab_Tactic_evalExistsIntro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExact___closed__6;
|
||||
lean_object* l___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_mkNativeAuxDecl(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_evalDecide(lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine_x27(lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalRename___lambda__1___closed__3;
|
||||
lean_object* l_Lean_Elab_Tactic_elabTermEnsuringType_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_closeMainGoalUsing(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_Tactic_evalTacticAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -80,13 +81,15 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine___closed__2;
|
|||
lean_object* l_Lean_Elab_Tactic_evalNativeDecide___boxed(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_elabAsFVar_match__3(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_elabAsFVar___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*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalRename___lambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_evalApply(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_withoutModifyingStateWithInfoAndMessages___at_Lean_Elab_Tactic_evalRename___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalNativeDecide___rarg___lambda__1___closed__2;
|
||||
static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_mkAuxName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDecide___closed__5;
|
||||
static lean_object* l_Lean_Elab_Tactic_evalDecide___rarg___lambda__1___closed__4;
|
||||
lean_object* l_Lean_Elab_Tactic_evalRename___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_evalRename___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_Lean_Expr_appArg_x21(lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExistsIntro___closed__2;
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -96,6 +99,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExistsIntro___closed__1;
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalConstructor___closed__1;
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_getFVarId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalDecide___rarg___lambda__1___closed__3;
|
||||
static lean_object* l_Lean_Elab_Tactic_evalRename___lambda__1___closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_elabTermEnsuringType_match__1(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalDecide___rarg___lambda__1___closed__5;
|
||||
lean_object* l_Lean_Meta_mkDecide(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -106,21 +110,18 @@ lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean
|
|||
lean_object* l___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_filterOldMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_apply(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_filterOldMVars___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4;
|
||||
lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Elab_Tactic_evalRename___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*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExistsIntro___closed__3;
|
||||
lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalRename___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_evalRename___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_intro1Core(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalNativeDecide___rarg___lambda__1___closed__7;
|
||||
static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_elabTermWithHoles(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_array_fget(lean_object*, lean_object*);
|
||||
lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Elab_Tactic_evalRename___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*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalDecide___rarg___lambda__2___closed__2;
|
||||
static lean_object* l_Lean_Elab_Tactic_evalNativeDecide___rarg___closed__1;
|
||||
lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getMVarsNoDelayed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalRename___closed__2;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDecide___closed__4;
|
||||
|
|
@ -137,6 +138,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact_
|
|||
lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalExact___closed__4;
|
||||
lean_object* l_Lean_Elab_Tactic_evalConstructor___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalRename___lambda__1___closed__4;
|
||||
static lean_object* l_Lean_Elab_Tactic_evalExact___closed__8;
|
||||
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndInstances___closed__2;
|
||||
|
|
@ -146,7 +148,6 @@ extern lean_object* l_Lean_Elab_abortTacticExceptionId;
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducible___closed__1;
|
||||
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*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalExact___closed__1;
|
||||
static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__2;
|
||||
static lean_object* l_Lean_Elab_Tactic_evalDecide___rarg___lambda__1___closed__6;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndInstances___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_elabTermForApply___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*);
|
||||
|
|
@ -196,17 +197,14 @@ lean_object* l_Lean_LocalDecl_type(lean_object*);
|
|||
static lean_object* l_Lean_Elab_Tactic_evalNativeDecide___rarg___lambda__1___closed__1;
|
||||
static lean_object* l___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_preprocessPropToDecide___lambda__2___closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_evalExact___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_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8(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_evalNativeDecide___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_elabAsFVar_match__3___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_elabTermEnsuringType___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_Elab_Tactic_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalRefine___closed__1;
|
||||
lean_object* l_Lean_Meta_getMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalExistsIntro___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExact___closed__1;
|
||||
static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__3;
|
||||
lean_object* l_Lean_Elab_throwAbortTactic___at___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_logUnassignedAndAbort___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalApply___closed__3;
|
||||
static lean_object* l_Lean_Elab_Tactic_evalNativeDecide___rarg___lambda__1___closed__4;
|
||||
|
|
@ -270,7 +268,6 @@ extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId;
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine___closed__1;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_LocalContext_findDeclRevM_x3f___at_Lean_Elab_Tactic_evalRename___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_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndInstances(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_refineCore___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_LocalContext_setUserName(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -296,6 +293,7 @@ lean_object* l_Lean_Elab_Tactic_closeMainGoalUsing___lambda__1___boxed(lean_obje
|
|||
static lean_object* l_Lean_Elab_Tactic_evalExistsIntro___closed__2;
|
||||
lean_object* l_Lean_mkConst(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_refineCore(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_Tactic_evalRename___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalExact(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_elabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalNativeDecide___rarg___lambda__1___closed__5;
|
||||
|
|
@ -6240,105 +6238,59 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withNewMCtxDepth___at_Lean_Elab_Tac
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__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* l_Lean_Elab_withoutModifyingStateWithInfoAndMessages___at_Lean_Elab_Tactic_evalRename___spec__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) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
x_11 = l_Lean_Elab_Tactic_saveState___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
x_12 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_12);
|
||||
x_13 = lean_ctor_get(x_11, 1);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_11);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_14 = lean_apply_9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13);
|
||||
if (lean_obj_tag(x_14) == 0)
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
x_11 = lean_apply_2(x_1, x_2, x_3);
|
||||
x_12 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___rarg(x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
if (lean_obj_tag(x_12) == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18;
|
||||
x_15 = lean_ctor_get(x_14, 0);
|
||||
uint8_t x_13;
|
||||
x_13 = !lean_is_exclusive(x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_14 = lean_ctor_get(x_12, 0);
|
||||
x_15 = lean_ctor_get(x_12, 1);
|
||||
lean_inc(x_15);
|
||||
x_16 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_14);
|
||||
x_17 = l_Lean_Elab_Tactic_SavedState_restore(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16);
|
||||
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);
|
||||
x_18 = !lean_is_exclusive(x_17);
|
||||
if (x_18 == 0)
|
||||
{
|
||||
lean_object* x_19;
|
||||
x_19 = lean_ctor_get(x_17, 0);
|
||||
lean_dec(x_19);
|
||||
lean_ctor_set(x_17, 0, x_15);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21;
|
||||
x_20 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_17);
|
||||
x_21 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_15);
|
||||
lean_ctor_set(x_21, 1, x_20);
|
||||
return x_21;
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_12);
|
||||
x_16 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_14);
|
||||
lean_ctor_set(x_16, 1, x_15);
|
||||
return x_16;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25;
|
||||
x_22 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_22);
|
||||
x_23 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_14);
|
||||
x_24 = l_Lean_Elab_Tactic_SavedState_restore(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23);
|
||||
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);
|
||||
x_25 = !lean_is_exclusive(x_24);
|
||||
if (x_25 == 0)
|
||||
uint8_t x_17;
|
||||
x_17 = !lean_is_exclusive(x_12);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
lean_object* x_26;
|
||||
x_26 = lean_ctor_get(x_24, 0);
|
||||
lean_dec(x_26);
|
||||
lean_ctor_set_tag(x_24, 1);
|
||||
lean_ctor_set(x_24, 0, x_22);
|
||||
return x_24;
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28;
|
||||
x_27 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_27);
|
||||
lean_dec(x_24);
|
||||
x_28 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_22);
|
||||
lean_ctor_set(x_28, 1, x_27);
|
||||
return x_28;
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_18 = lean_ctor_get(x_12, 0);
|
||||
x_19 = lean_ctor_get(x_12, 1);
|
||||
lean_inc(x_19);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_12);
|
||||
x_20 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_18);
|
||||
lean_ctor_set(x_20, 1, x_19);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_evalRename___lambda__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -6346,16 +6298,16 @@ x_1 = lean_mk_string("failed to find a hypothesis with type");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__2() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_evalRename___lambda__1___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__1;
|
||||
x_1 = l_Lean_Elab_Tactic_evalRename___lambda__1___closed__1;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__3() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_evalRename___lambda__1___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -6363,16 +6315,16 @@ x_1 = lean_mk_string("");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_evalRename___lambda__1___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__3;
|
||||
x_1 = l_Lean_Elab_Tactic_evalRename___lambda__1___closed__3;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___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* l_Lean_Elab_Tactic_evalRename___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) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_12; lean_object* x_13;
|
||||
|
|
@ -6414,11 +6366,11 @@ x_19 = lean_ctor_get(x_17, 1);
|
|||
lean_inc(x_19);
|
||||
lean_dec(x_17);
|
||||
x_20 = l_Lean_indentExpr(x_14);
|
||||
x_21 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__2;
|
||||
x_21 = l_Lean_Elab_Tactic_evalRename___lambda__1___closed__2;
|
||||
x_22 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_21);
|
||||
lean_ctor_set(x_22, 1, x_20);
|
||||
x_23 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4;
|
||||
x_23 = l_Lean_Elab_Tactic_evalRename___lambda__1___closed__4;
|
||||
x_24 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_22);
|
||||
lean_ctor_set(x_24, 1, x_23);
|
||||
|
|
@ -6533,19 +6485,10 @@ return x_39;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
lean_object* l_Lean_Elab_Tactic_evalRename___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) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_12 = lean_alloc_closure((void*)(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___boxed), 11, 2);
|
||||
lean_closure_set(x_12, 0, x_1);
|
||||
lean_closure_set(x_12, 1, x_2);
|
||||
x_13 = l_Lean_Elab_Tactic_saveState___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
|
||||
x_14 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_14);
|
||||
x_15 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_13);
|
||||
lean_object* x_12;
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
|
|
@ -6554,118 +6497,25 @@ lean_inc(x_6);
|
|||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
x_16 = l_Lean_Meta_withNewMCtxDepth___at_Lean_Elab_Tactic_evalRename___spec__7___rarg(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15);
|
||||
if (lean_obj_tag(x_16) == 0)
|
||||
x_12 = l_Lean_Elab_withoutModifyingStateWithInfoAndMessages___at_Lean_Elab_Tactic_evalRename___spec__8(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
|
||||
if (lean_obj_tag(x_12) == 0)
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20;
|
||||
x_17 = lean_ctor_get(x_16, 0);
|
||||
lean_inc(x_17);
|
||||
x_18 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_16);
|
||||
x_19 = l_Lean_Elab_Tactic_SavedState_restore(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18);
|
||||
lean_dec(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);
|
||||
x_20 = !lean_is_exclusive(x_19);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_21;
|
||||
x_21 = lean_ctor_get(x_19, 0);
|
||||
lean_dec(x_21);
|
||||
lean_ctor_set(x_19, 0, x_17);
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23;
|
||||
x_22 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_19);
|
||||
x_23 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_17);
|
||||
lean_ctor_set(x_23, 1, x_22);
|
||||
return x_23;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27;
|
||||
x_24 = lean_ctor_get(x_16, 0);
|
||||
lean_inc(x_24);
|
||||
x_25 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_25);
|
||||
lean_dec(x_16);
|
||||
x_26 = l_Lean_Elab_Tactic_SavedState_restore(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_25);
|
||||
lean_dec(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);
|
||||
x_27 = !lean_is_exclusive(x_26);
|
||||
if (x_27 == 0)
|
||||
{
|
||||
lean_object* x_28;
|
||||
x_28 = lean_ctor_get(x_26, 0);
|
||||
lean_dec(x_28);
|
||||
lean_ctor_set_tag(x_26, 1);
|
||||
lean_ctor_set(x_26, 0, x_24);
|
||||
return x_26;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_29; lean_object* x_30;
|
||||
x_29 = lean_ctor_get(x_26, 1);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_26);
|
||||
x_30 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_30, 0, x_24);
|
||||
lean_ctor_set(x_30, 1, x_29);
|
||||
return x_30;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_evalRename___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) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_13;
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
x_13 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9(x_1, x_2, 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; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
x_14 = lean_ctor_get(x_13, 0);
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
|
||||
x_13 = lean_ctor_get(x_12, 0);
|
||||
lean_inc(x_13);
|
||||
x_14 = lean_ctor_get(x_12, 1);
|
||||
lean_inc(x_14);
|
||||
x_15 = lean_ctor_get(x_13, 1);
|
||||
lean_dec(x_12);
|
||||
x_15 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_13);
|
||||
x_16 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_16);
|
||||
x_17 = l_Lean_Syntax_getId(x_3);
|
||||
x_18 = l_Lean_LocalContext_setUserName(x_16, x_14, x_17);
|
||||
x_19 = l_Lean_Meta_getLocalInstances(x_8, x_9, x_10, x_11, x_15);
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
x_16 = l_Lean_Syntax_getId(x_2);
|
||||
x_17 = l_Lean_LocalContext_setUserName(x_15, x_13, x_16);
|
||||
x_18 = l_Lean_Meta_getLocalInstances(x_7, x_8, x_9, x_10, x_14);
|
||||
x_19 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_19);
|
||||
x_20 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_19);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_18);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
|
|
@ -6673,16 +6523,16 @@ lean_inc(x_7);
|
|||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
x_22 = l_Lean_Elab_Tactic_getMainTarget(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_21);
|
||||
if (lean_obj_tag(x_22) == 0)
|
||||
lean_inc(x_3);
|
||||
x_21 = l_Lean_Elab_Tactic_getMainTarget(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20);
|
||||
if (lean_obj_tag(x_21) == 0)
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25;
|
||||
x_23 = lean_ctor_get(x_22, 0);
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_22 = lean_ctor_get(x_21, 0);
|
||||
lean_inc(x_22);
|
||||
x_23 = lean_ctor_get(x_21, 1);
|
||||
lean_inc(x_23);
|
||||
x_24 = lean_ctor_get(x_22, 1);
|
||||
lean_inc(x_24);
|
||||
lean_dec(x_22);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_21);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
|
|
@ -6690,24 +6540,24 @@ lean_inc(x_7);
|
|||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
x_25 = l_Lean_Elab_Tactic_getMainTag(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_24);
|
||||
if (lean_obj_tag(x_25) == 0)
|
||||
lean_inc(x_3);
|
||||
x_24 = l_Lean_Elab_Tactic_getMainTag(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23);
|
||||
if (lean_obj_tag(x_24) == 0)
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
x_26 = lean_ctor_get(x_25, 0);
|
||||
lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
x_25 = lean_ctor_get(x_24, 0);
|
||||
lean_inc(x_25);
|
||||
x_26 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_26);
|
||||
x_27 = lean_ctor_get(x_25, 1);
|
||||
lean_inc(x_27);
|
||||
lean_dec(x_25);
|
||||
x_28 = 2;
|
||||
x_29 = lean_unsigned_to_nat(0u);
|
||||
x_30 = l_Lean_Meta_mkFreshExprMVarAt(x_18, x_20, x_23, x_28, x_26, x_29, x_8, x_9, x_10, x_11, x_27);
|
||||
x_31 = lean_ctor_get(x_30, 0);
|
||||
lean_dec(x_24);
|
||||
x_27 = 2;
|
||||
x_28 = lean_unsigned_to_nat(0u);
|
||||
x_29 = l_Lean_Meta_mkFreshExprMVarAt(x_17, x_19, x_22, x_27, x_25, x_28, x_7, x_8, x_9, x_10, x_26);
|
||||
x_30 = lean_ctor_get(x_29, 0);
|
||||
lean_inc(x_30);
|
||||
x_31 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_31);
|
||||
x_32 = lean_ctor_get(x_30, 1);
|
||||
lean_inc(x_32);
|
||||
lean_dec(x_30);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_29);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
|
|
@ -6715,34 +6565,34 @@ lean_inc(x_7);
|
|||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
x_33 = l_Lean_Elab_Tactic_getMainGoal(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_32);
|
||||
if (lean_obj_tag(x_33) == 0)
|
||||
lean_inc(x_3);
|
||||
x_32 = l_Lean_Elab_Tactic_getMainGoal(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_31);
|
||||
if (lean_obj_tag(x_32) == 0)
|
||||
{
|
||||
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41;
|
||||
x_34 = lean_ctor_get(x_33, 0);
|
||||
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40;
|
||||
x_33 = lean_ctor_get(x_32, 0);
|
||||
lean_inc(x_33);
|
||||
x_34 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_34);
|
||||
x_35 = lean_ctor_get(x_33, 1);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_33);
|
||||
lean_inc(x_31);
|
||||
x_36 = l_Lean_Meta_assignExprMVar(x_34, x_31, x_8, x_9, x_10, x_11, x_35);
|
||||
x_37 = lean_ctor_get(x_36, 1);
|
||||
lean_inc(x_37);
|
||||
lean_dec(x_36);
|
||||
x_38 = l_Lean_Expr_mvarId_x21(x_31);
|
||||
lean_dec(x_31);
|
||||
x_39 = lean_box(0);
|
||||
x_40 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_38);
|
||||
lean_ctor_set(x_40, 1, x_39);
|
||||
x_41 = l_Lean_Elab_Tactic_replaceMainGoal(x_40, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_37);
|
||||
return x_41;
|
||||
lean_dec(x_32);
|
||||
lean_inc(x_30);
|
||||
x_35 = l_Lean_Meta_assignExprMVar(x_33, x_30, x_7, x_8, x_9, x_10, x_34);
|
||||
x_36 = lean_ctor_get(x_35, 1);
|
||||
lean_inc(x_36);
|
||||
lean_dec(x_35);
|
||||
x_37 = l_Lean_Expr_mvarId_x21(x_30);
|
||||
lean_dec(x_30);
|
||||
x_38 = lean_box(0);
|
||||
x_39 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_39, 0, x_37);
|
||||
lean_ctor_set(x_39, 1, x_38);
|
||||
x_40 = l_Lean_Elab_Tactic_replaceMainGoal(x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_36);
|
||||
return x_40;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_42;
|
||||
lean_dec(x_31);
|
||||
lean_dec(x_11);
|
||||
uint8_t x_41;
|
||||
lean_dec(x_30);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
|
|
@ -6750,97 +6600,33 @@ lean_dec(x_7);
|
|||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
x_42 = !lean_is_exclusive(x_33);
|
||||
if (x_42 == 0)
|
||||
lean_dec(x_3);
|
||||
x_41 = !lean_is_exclusive(x_32);
|
||||
if (x_41 == 0)
|
||||
{
|
||||
return x_33;
|
||||
return x_32;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_43; lean_object* x_44; lean_object* x_45;
|
||||
x_43 = lean_ctor_get(x_33, 0);
|
||||
x_44 = lean_ctor_get(x_33, 1);
|
||||
lean_inc(x_44);
|
||||
lean_object* x_42; lean_object* x_43; lean_object* x_44;
|
||||
x_42 = lean_ctor_get(x_32, 0);
|
||||
x_43 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_43);
|
||||
lean_dec(x_33);
|
||||
x_45 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_45, 0, x_43);
|
||||
lean_ctor_set(x_45, 1, x_44);
|
||||
return x_45;
|
||||
lean_inc(x_42);
|
||||
lean_dec(x_32);
|
||||
x_44 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_44, 0, x_42);
|
||||
lean_ctor_set(x_44, 1, x_43);
|
||||
return x_44;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_46;
|
||||
lean_dec(x_23);
|
||||
lean_dec(x_20);
|
||||
lean_dec(x_18);
|
||||
lean_dec(x_11);
|
||||
lean_dec(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);
|
||||
x_46 = !lean_is_exclusive(x_25);
|
||||
if (x_46 == 0)
|
||||
{
|
||||
return x_25;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_47; lean_object* x_48; lean_object* x_49;
|
||||
x_47 = lean_ctor_get(x_25, 0);
|
||||
x_48 = lean_ctor_get(x_25, 1);
|
||||
lean_inc(x_48);
|
||||
lean_inc(x_47);
|
||||
lean_dec(x_25);
|
||||
x_49 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_49, 0, x_47);
|
||||
lean_ctor_set(x_49, 1, x_48);
|
||||
return x_49;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_50;
|
||||
lean_dec(x_20);
|
||||
lean_dec(x_18);
|
||||
lean_dec(x_11);
|
||||
lean_dec(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);
|
||||
x_50 = !lean_is_exclusive(x_22);
|
||||
if (x_50 == 0)
|
||||
{
|
||||
return x_22;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_51; lean_object* x_52; lean_object* x_53;
|
||||
x_51 = lean_ctor_get(x_22, 0);
|
||||
x_52 = lean_ctor_get(x_22, 1);
|
||||
lean_inc(x_52);
|
||||
lean_inc(x_51);
|
||||
uint8_t x_45;
|
||||
lean_dec(x_22);
|
||||
x_53 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_53, 0, x_51);
|
||||
lean_ctor_set(x_53, 1, x_52);
|
||||
return x_53;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_54;
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_19);
|
||||
lean_dec(x_17);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
|
|
@ -6848,23 +6634,88 @@ lean_dec(x_7);
|
|||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
x_54 = !lean_is_exclusive(x_13);
|
||||
if (x_54 == 0)
|
||||
lean_dec(x_3);
|
||||
x_45 = !lean_is_exclusive(x_24);
|
||||
if (x_45 == 0)
|
||||
{
|
||||
return x_13;
|
||||
return x_24;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_55; lean_object* x_56; lean_object* x_57;
|
||||
x_55 = lean_ctor_get(x_13, 0);
|
||||
x_56 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_56);
|
||||
lean_object* x_46; lean_object* x_47; lean_object* x_48;
|
||||
x_46 = lean_ctor_get(x_24, 0);
|
||||
x_47 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_47);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_24);
|
||||
x_48 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_48, 0, x_46);
|
||||
lean_ctor_set(x_48, 1, x_47);
|
||||
return x_48;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_49;
|
||||
lean_dec(x_19);
|
||||
lean_dec(x_17);
|
||||
lean_dec(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);
|
||||
x_49 = !lean_is_exclusive(x_21);
|
||||
if (x_49 == 0)
|
||||
{
|
||||
return x_21;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_50; lean_object* x_51; lean_object* x_52;
|
||||
x_50 = lean_ctor_get(x_21, 0);
|
||||
x_51 = lean_ctor_get(x_21, 1);
|
||||
lean_inc(x_51);
|
||||
lean_inc(x_50);
|
||||
lean_dec(x_21);
|
||||
x_52 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_52, 0, x_50);
|
||||
lean_ctor_set(x_52, 1, x_51);
|
||||
return x_52;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_53;
|
||||
lean_dec(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);
|
||||
x_53 = !lean_is_exclusive(x_12);
|
||||
if (x_53 == 0)
|
||||
{
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_54; lean_object* x_55; lean_object* x_56;
|
||||
x_54 = lean_ctor_get(x_12, 0);
|
||||
x_55 = lean_ctor_get(x_12, 1);
|
||||
lean_inc(x_55);
|
||||
lean_dec(x_13);
|
||||
x_57 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_57, 0, x_55);
|
||||
lean_ctor_set(x_57, 1, x_56);
|
||||
return x_57;
|
||||
lean_inc(x_54);
|
||||
lean_dec(x_12);
|
||||
x_56 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_56, 0, x_54);
|
||||
lean_ctor_set(x_56, 1, x_55);
|
||||
return x_56;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6956,14 +6807,18 @@ return x_20;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25;
|
||||
x_21 = lean_box(0);
|
||||
x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRename___lambda__1___boxed), 12, 3);
|
||||
x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRename___lambda__1___boxed), 11, 2);
|
||||
lean_closure_set(x_22, 0, x_15);
|
||||
lean_closure_set(x_22, 1, x_21);
|
||||
lean_closure_set(x_22, 2, x_17);
|
||||
x_23 = l_Lean_Elab_Tactic_withMainContext___rarg(x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
return x_23;
|
||||
x_23 = lean_alloc_closure((void*)(l_Lean_Meta_withNewMCtxDepth___at_Lean_Elab_Tactic_evalRename___spec__7___rarg), 10, 1);
|
||||
lean_closure_set(x_23, 0, x_22);
|
||||
x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRename___lambda__2___boxed), 11, 2);
|
||||
lean_closure_set(x_24, 0, x_23);
|
||||
lean_closure_set(x_24, 1, x_17);
|
||||
x_25 = l_Lean_Elab_Tactic_withMainContext___rarg(x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
return x_25;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -7035,22 +6890,22 @@ lean_dec(x_4);
|
|||
return x_12;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___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* l_Lean_Elab_Tactic_evalRename___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) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_12;
|
||||
x_12 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___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 = l_Lean_Elab_Tactic_evalRename___lambda__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_4);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_evalRename___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_evalRename___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, lean_object* x_10, lean_object* x_11) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_13;
|
||||
x_13 = l_Lean_Elab_Tactic_evalRename___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_12;
|
||||
x_12 = l_Lean_Elab_Tactic_evalRename___lambda__2(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_2);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRename___closed__1() {
|
||||
|
|
@ -7144,7 +6999,7 @@ x_14 = l___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_preprocessPropT
|
|||
x_15 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
lean_ctor_set(x_15, 1, x_13);
|
||||
x_16 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4;
|
||||
x_16 = l_Lean_Elab_Tactic_evalRename___lambda__1___closed__4;
|
||||
x_17 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_17, 0, x_15);
|
||||
lean_ctor_set(x_17, 1, x_16);
|
||||
|
|
@ -7177,7 +7032,7 @@ x_24 = l___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_preprocessPropT
|
|||
x_25 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_25, 0, x_24);
|
||||
lean_ctor_set(x_25, 1, x_23);
|
||||
x_26 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4;
|
||||
x_26 = l_Lean_Elab_Tactic_evalRename___lambda__1___closed__4;
|
||||
x_27 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_27, 0, x_25);
|
||||
lean_ctor_set(x_27, 1, x_26);
|
||||
|
|
@ -7591,7 +7446,7 @@ x_34 = l_Lean_Elab_Tactic_evalDecide___rarg___lambda__2___closed__2;
|
|||
x_35 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_35, 0, x_34);
|
||||
lean_ctor_set(x_35, 1, x_33);
|
||||
x_36 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4;
|
||||
x_36 = l_Lean_Elab_Tactic_evalRename___lambda__1___closed__4;
|
||||
x_37 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_35);
|
||||
lean_ctor_set(x_37, 1, x_36);
|
||||
|
|
@ -7730,7 +7585,7 @@ x_69 = l_Lean_Elab_Tactic_evalDecide___rarg___lambda__2___closed__2;
|
|||
x_70 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_70, 0, x_69);
|
||||
lean_ctor_set(x_70, 1, x_68);
|
||||
x_71 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4;
|
||||
x_71 = l_Lean_Elab_Tactic_evalRename___lambda__1___closed__4;
|
||||
x_72 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_72, 0, x_70);
|
||||
lean_ctor_set(x_72, 1, x_71);
|
||||
|
|
@ -8723,14 +8578,14 @@ l_Lean_Elab_Tactic_elabAsFVar___lambda__1___closed__1 = _init_l_Lean_Elab_Tactic
|
|||
lean_mark_persistent(l_Lean_Elab_Tactic_elabAsFVar___lambda__1___closed__1);
|
||||
l_Lean_Elab_Tactic_elabAsFVar___lambda__1___closed__2 = _init_l_Lean_Elab_Tactic_elabAsFVar___lambda__1___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_elabAsFVar___lambda__1___closed__2);
|
||||
l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__1 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__1();
|
||||
lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__1);
|
||||
l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__2 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__2();
|
||||
lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__2);
|
||||
l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__3 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__3();
|
||||
lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__3);
|
||||
l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4 = _init_l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4();
|
||||
lean_mark_persistent(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4);
|
||||
l_Lean_Elab_Tactic_evalRename___lambda__1___closed__1 = _init_l_Lean_Elab_Tactic_evalRename___lambda__1___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_evalRename___lambda__1___closed__1);
|
||||
l_Lean_Elab_Tactic_evalRename___lambda__1___closed__2 = _init_l_Lean_Elab_Tactic_evalRename___lambda__1___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_evalRename___lambda__1___closed__2);
|
||||
l_Lean_Elab_Tactic_evalRename___lambda__1___closed__3 = _init_l_Lean_Elab_Tactic_evalRename___lambda__1___closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_evalRename___lambda__1___closed__3);
|
||||
l_Lean_Elab_Tactic_evalRename___lambda__1___closed__4 = _init_l_Lean_Elab_Tactic_evalRename___lambda__1___closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_evalRename___lambda__1___closed__4);
|
||||
l_Lean_Elab_Tactic_evalRename___closed__1 = _init_l_Lean_Elab_Tactic_evalRename___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_evalRename___closed__1);
|
||||
l_Lean_Elab_Tactic_evalRename___closed__2 = _init_l_Lean_Elab_Tactic_evalRename___closed__2();
|
||||
|
|
|
|||
630
stage0/stdlib/Lean/Elab/Term.c
generated
630
stage0/stdlib/Lean/Elab/Term.c
generated
File diff suppressed because it is too large
Load diff
|
|
@ -773,6 +773,7 @@ static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNameMkStr
|
|||
static lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfScientific___lambda__1___closed__4;
|
||||
uint8_t l_Lean_BinderInfo_isExplicit(uint8_t);
|
||||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds___closed__2;
|
||||
uint8_t l_Lean_PrettyPrinter_Delaborator_AppMatchState_motiveNamed___default;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_PrettyPrinter_Delaborator_delab___spec__3___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -911,7 +912,6 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_shouldShowMotive(lean_object*, lea
|
|||
static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar___closed__6;
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withMDataExpr___at_Lean_PrettyPrinter_Delaborator_isRegularApp___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_string_length(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_loop___rarg___lambda__1___closed__2;
|
||||
static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNameMkNum___closed__4;
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_unexpandRegularApp_match__1(lean_object*);
|
||||
|
|
@ -4178,7 +4178,7 @@ x_52 = lean_array_get_size(x_51);
|
|||
x_53 = lean_usize_of_nat(x_52);
|
||||
lean_dec(x_52);
|
||||
x_54 = x_51;
|
||||
x_55 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6434____spec__3(x_53, x_48, x_54);
|
||||
x_55 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_6830____spec__3(x_53, x_48, x_54);
|
||||
x_56 = x_55;
|
||||
x_57 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__3___closed__10;
|
||||
x_58 = l_Lean_mkSepArray(x_56, x_57);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue