chore: update stage0

This commit is contained in:
Leonardo de Moura 2021-10-02 16:28:47 -07:00
parent 15347272c7
commit deb77b62df
23 changed files with 2652 additions and 1512 deletions

View file

@ -95,6 +95,47 @@ private def elabOptLevel (stx : Syntax) : TermElabM Level :=
else
throwError "synthetic hole has already been defined with an incompatible local context"
@[builtinTermElab «letMVar»] def elabLetMVar : TermElab := fun stx expectedType? => do
match stx with
| `(let_mvar% ? $n := $e; $b) =>
match (← getMCtx).findUserName? n.getId with
| some _ => throwError "invalid 'let_mvar%', metavariable '?{n.getId}' has already been used"
| none =>
let e ← elabTerm e none
let mvar ← mkFreshExprMVar (← inferType e) MetavarKind.syntheticOpaque n.getId
assignExprMVar mvar.mvarId! e
elabTerm b expectedType?
| _ => throwUnsupportedSyntax
private def getMVarFromUserName (ident : Syntax) : MetaM Expr := do
match (← getMCtx).findUserName? ident.getId with
| none => throwError "unknown metavariable '?{ident.getId}'"
| some mvarId => instantiateMVars (mkMVar mvarId)
@[builtinTermElab «waitIfTypeMVar»] def elabWaitIfTypeMVar : TermElab := fun stx expectedType? => do
match stx with
| `(wait_if_type_mvar% ? $n; $b) =>
tryPostponeIfMVar (← inferType (← getMVarFromUserName n))
elabTerm b expectedType?
| _ => throwUnsupportedSyntax
@[builtinTermElab «waitIfTypeContainsMVar»] def elabWaitIfTypeContainsMVar : TermElab := fun stx expectedType? => do
match stx with
| `(wait_if_type_contains_mvar% ? $n; $b) =>
if (← instantiateMVars (← inferType (← getMVarFromUserName n))).hasExprMVar then
tryPostpone
elabTerm b expectedType?
| _ => throwUnsupportedSyntax
@[builtinTermElab «waitIfContainsMVar»] def elabWaitIfContainsMVar : TermElab := fun stx expectedType? => do
match stx with
| `(wait_if_contains_mvar% ? $n; $b) =>
if (← getMVarFromUserName n).hasExprMVar then
tryPostpone
elabTerm b expectedType?
| _ => throwUnsupportedSyntax
private def mkTacticMVar (type : Expr) (tacticCode : Syntax) : TermElabM Expr := do
let mvar ← mkFreshExprMVar type MetavarKind.syntheticOpaque
let mvarId := mvar.mvarId!

View file

@ -16,7 +16,7 @@ def getMVarTag (mvarId : MVarId) : MetaM Name :=
return (← getMVarDecl mvarId).userName
def setMVarTag (mvarId : MVarId) (tag : Name) : MetaM Unit := do
modify fun s => { s with mctx := s.mctx.setMVarUserName mvarId tag }
modify fun s => { s with mctx := s.mctx.renameMVar mvarId tag }
def appendTag (tag : Name) (suffix : Name) : Name :=
tag.modifyBase (. ++ suffix.eraseMacroScopes)

View file

@ -278,6 +278,7 @@ structure MetavarContext where
mvarCounter : Nat := 0 -- Counter for setting the field `index` at `MetavarDecl`
lDepth : PersistentHashMap MVarId Nat := {}
decls : PersistentHashMap MVarId MetavarDecl := {}
userNames : PersistentHashMap Name MVarId := {}
lAssignment : PersistentHashMap MVarId Level := {}
eAssignment : PersistentHashMap MVarId Expr := {}
dAssignment : PersistentHashMap MVarId DelayedMetavarAssignment := {}
@ -320,7 +321,8 @@ def addExprMVarDecl (mctx : MetavarContext)
localInstances
type
kind
numScopeArgs } }
numScopeArgs }
userNames := if userName.isAnonymous then mctx.userNames else mctx.userNames.insert userName mvarId }
def addExprMVarDeclExp (mctx : MetavarContext) (mvarId : MVarId) (userName : Name) (lctx : LocalContext) (localInstances : LocalInstances)
(type : Expr) (kind : MetavarKind) : MetavarContext :=
@ -341,19 +343,19 @@ def getDecl (mctx : MetavarContext) (mvarId : MVarId) : MetavarDecl :=
| none => panic! "unknown metavariable"
def findUserName? (mctx : MetavarContext) (userName : Name) : Option MVarId :=
let search : Except MVarId Unit := mctx.decls.forM fun mvarId decl =>
if decl.userName == userName then throw mvarId else pure ()
match search with
| Except.ok _ => none
| Except.error mvarId => some mvarId
mctx.userNames.find? userName
def setMVarKind (mctx : MetavarContext) (mvarId : MVarId) (kind : MetavarKind) : MetavarContext :=
let decl := mctx.getDecl mvarId
{ mctx with decls := mctx.decls.insert mvarId { decl with kind := kind } }
def setMVarUserName (mctx : MetavarContext) (mvarId : MVarId) (userName : Name) : MetavarContext :=
def renameMVar (mctx : MetavarContext) (mvarId : MVarId) (userName : Name) : MetavarContext :=
let decl := mctx.getDecl mvarId
{ mctx with decls := mctx.decls.insert mvarId { decl with userName := userName } }
{ mctx with
decls := mctx.decls.insert mvarId { decl with userName := userName }
userNames :=
let userNames := mctx.userNames.erase decl.userName
if userName.isAnonymous then userNames else userNames.insert userName mvarId }
/- Update the type of the given metavariable. This function assumes the new type is
definitionally equal to the current one -/
@ -374,11 +376,6 @@ def isAnonymousMVar (mctx : MetavarContext) (mvarId : MVarId) : Bool :=
| none => false
| some mvarDecl => mvarDecl.userName.isAnonymous
def renameMVar (mctx : MetavarContext) (mvarId : MVarId) (newUserName : Name) : MetavarContext :=
match mctx.findDecl? mvarId with
| none => panic! "unknown metavariable"
| some mvarDecl => { mctx with decls := mctx.decls.insert mvarId { mvarDecl with userName := newUserName } }
def assignLevel (m : MetavarContext) (mvarId : MVarId) (val : Level) : MetavarContext :=
{ m with lAssignment := m.lAssignment.insert mvarId val }

View file

@ -150,6 +150,7 @@ uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_353____spec__1___lambda__4___boxed(lean_object*);
static lean_object* l_Lean_externAttr___closed__6;
lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_getExternConstArity___closed__22;
lean_object* l_Nat_repr(lean_object*);
static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_353____spec__5___lambda__2___closed__1;
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
@ -4346,42 +4347,36 @@ static lean_object* _init_l_Lean_getExternConstArity___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_getExternConstArity___closed__10;
x_3 = lean_alloc_ctor(0, 7, 0);
x_1 = l_Lean_getExternConstArity___closed__3;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_2);
lean_ctor_set(x_3, 4, x_2);
lean_ctor_set(x_3, 5, x_2);
lean_ctor_set(x_3, 6, x_2);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_getExternConstArity___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_getExternConstArity___closed__3;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_getExternConstArity___closed__10;
x_3 = l_Lean_getExternConstArity___closed__11;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_getExternConstArity___closed__13() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_getExternConstArity___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_getExternConstArity___closed__3;
x_2 = lean_unsigned_to_nat(0u);
@ -4391,6 +4386,14 @@ lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_getExternConstArity___closed__14() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_getExternConstArity___closed__15() {
_start:
{
@ -4406,6 +4409,18 @@ return x_3;
static lean_object* _init_l_Lean_getExternConstArity___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_getExternConstArity___closed__3;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_getExternConstArity___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Expr_instBEqExpr;
x_2 = lean_alloc_closure((void*)(l_instBEqProd___rarg), 4, 2);
@ -4414,7 +4429,7 @@ lean_closure_set(x_2, 1, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_getExternConstArity___closed__17() {
static lean_object* _init_l_Lean_getExternConstArity___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2;
@ -4425,7 +4440,7 @@ lean_closure_set(x_2, 1, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_getExternConstArity___closed__18() {
static lean_object* _init_l_Lean_getExternConstArity___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
@ -4437,14 +4452,14 @@ lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_getExternConstArity___closed__19() {
static lean_object* _init_l_Lean_getExternConstArity___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_getExternConstArity___closed__12;
x_2 = l_Lean_getExternConstArity___closed__14;
x_3 = l_Lean_getExternConstArity___closed__15;
x_4 = l_Lean_getExternConstArity___closed__18;
x_1 = l_Lean_getExternConstArity___closed__13;
x_2 = l_Lean_getExternConstArity___closed__15;
x_3 = l_Lean_getExternConstArity___closed__16;
x_4 = l_Lean_getExternConstArity___closed__19;
x_5 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
@ -4456,13 +4471,13 @@ lean_ctor_set(x_5, 6, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_getExternConstArity___closed__20() {
static lean_object* _init_l_Lean_getExternConstArity___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = lean_box(0);
x_2 = l_Lean_getExternConstArity___closed__11;
x_3 = l_Lean_getExternConstArity___closed__19;
x_2 = l_Lean_getExternConstArity___closed__12;
x_3 = l_Lean_getExternConstArity___closed__20;
x_4 = l_Lean_getExternConstArity___closed__7;
x_5 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_5, 0, x_2);
@ -4472,7 +4487,7 @@ lean_ctor_set(x_5, 3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_getExternConstArity___closed__21() {
static lean_object* _init_l_Lean_getExternConstArity___closed__22() {
_start:
{
lean_object* x_1;
@ -4537,14 +4552,14 @@ x_20 = lean_st_ref_get(x_3, x_18);
x_21 = lean_ctor_get(x_20, 1);
lean_inc(x_21);
lean_dec(x_20);
x_22 = l_Lean_getExternConstArity___closed__20;
x_22 = l_Lean_getExternConstArity___closed__21;
x_23 = lean_st_mk_ref(x_22, x_21);
x_24 = lean_ctor_get(x_23, 0);
lean_inc(x_24);
x_25 = lean_ctor_get(x_23, 1);
lean_inc(x_25);
lean_dec(x_23);
x_26 = l_Lean_getExternConstArity___closed__21;
x_26 = l_Lean_getExternConstArity___closed__22;
x_27 = l_Lean_getExternConstArity___closed__9;
lean_inc(x_3);
lean_inc(x_24);
@ -4693,14 +4708,14 @@ x_55 = lean_st_ref_get(x_3, x_53);
x_56 = lean_ctor_get(x_55, 1);
lean_inc(x_56);
lean_dec(x_55);
x_57 = l_Lean_getExternConstArity___closed__20;
x_57 = l_Lean_getExternConstArity___closed__21;
x_58 = lean_st_mk_ref(x_57, x_56);
x_59 = lean_ctor_get(x_58, 0);
lean_inc(x_59);
x_60 = lean_ctor_get(x_58, 1);
lean_inc(x_60);
lean_dec(x_58);
x_61 = l_Lean_getExternConstArity___closed__21;
x_61 = l_Lean_getExternConstArity___closed__22;
x_62 = l_Lean_getExternConstArity___closed__9;
lean_inc(x_3);
lean_inc(x_59);
@ -4881,14 +4896,14 @@ x_98 = lean_st_ref_get(x_3, x_96);
x_99 = lean_ctor_get(x_98, 1);
lean_inc(x_99);
lean_dec(x_98);
x_100 = l_Lean_getExternConstArity___closed__20;
x_100 = l_Lean_getExternConstArity___closed__21;
x_101 = lean_st_mk_ref(x_100, x_99);
x_102 = lean_ctor_get(x_101, 0);
lean_inc(x_102);
x_103 = lean_ctor_get(x_101, 1);
lean_inc(x_103);
lean_dec(x_101);
x_104 = l_Lean_getExternConstArity___closed__21;
x_104 = l_Lean_getExternConstArity___closed__22;
x_105 = l_Lean_getExternConstArity___closed__9;
lean_inc(x_3);
lean_inc(x_102);
@ -5542,6 +5557,8 @@ l_Lean_getExternConstArity___closed__20 = _init_l_Lean_getExternConstArity___clo
lean_mark_persistent(l_Lean_getExternConstArity___closed__20);
l_Lean_getExternConstArity___closed__21 = _init_l_Lean_getExternConstArity___closed__21();
lean_mark_persistent(l_Lean_getExternConstArity___closed__21);
l_Lean_getExternConstArity___closed__22 = _init_l_Lean_getExternConstArity___closed__22();
lean_mark_persistent(l_Lean_getExternConstArity___closed__22);
l_Lean_getExternConstArityExport___closed__1 = _init_l_Lean_getExternConstArityExport___closed__1();
lean_mark_persistent(l_Lean_getExternConstArityExport___closed__1);
l_Lean_getExternConstArityExport___closed__2 = _init_l_Lean_getExternConstArityExport___closed__2();

View file

@ -1293,18 +1293,20 @@ return x_3;
static lean_object* _init_l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1___closed__1;
x_3 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_2);
lean_ctor_set(x_3, 4, x_2);
lean_ctor_set(x_3, 5, x_2);
lean_ctor_set(x_3, 6, x_2);
return x_3;
x_3 = l_Lean_Core_instInhabitedState___closed__4;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1___closed__3() {

File diff suppressed because it is too large Load diff

View file

@ -1981,18 +1981,20 @@ return x_4;
static lean_object* _init_l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Elab_Command_State_infoState___default___closed__3;
x_3 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_2);
lean_ctor_set(x_3, 4, x_2);
lean_ctor_set(x_3, 5, x_2);
lean_ctor_set(x_3, 6, x_2);
return x_3;
x_3 = l_Lean_Elab_Command_instInhabitedState___closed__2;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__2() {

View file

@ -64,7 +64,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_TermInfo_runMetaM(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Std_PersistentArray_append___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Option_format___at_Lean_Elab_CompletionInfo_format___spec__1___boxed(lean_object*);
static uint32_t l_Lean_Elab_instInhabitedContextInfo___closed__5;
static lean_object* l_Lean_Elab_instInhabitedContextInfo___closed__5;
lean_object* lean_st_ref_get(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_MacroExpansionInfo_format(lean_object*, lean_object*, lean_object*);
@ -134,7 +134,7 @@ static lean_object* l_Lean_Elab_instInhabitedContextInfo___closed__9;
LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstWithInfos___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_instInhabitedContextInfo___closed__4;
static uint32_t l_Lean_Elab_instInhabitedContextInfo___closed__4;
LEAN_EXPORT lean_object* l_Lean_Elab_withMacroExpansionInfo___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withSaveInfoContext___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -207,6 +207,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_instInhabitedCommandInfo;
static lean_object* l_Lean_Elab_instInhabitedContextInfo___closed__8;
size_t l_USize_shiftLeft(size_t, size_t);
LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___rarg___lambda__1(lean_object*);
static lean_object* l_Lean_Elab_ContextInfo_mctx___default___closed__5;
static lean_object* l_Lean_Elab_MacroExpansionInfo_format___closed__2;
lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_TermInfo_format(lean_object*, lean_object*, lean_object*);
@ -454,24 +455,38 @@ static lean_object* _init_l_Lean_Elab_ContextInfo_mctx___default___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_ContextInfo_mctx___default___closed__2;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_ContextInfo_mctx___default___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Elab_ContextInfo_mctx___default___closed__3;
x_3 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_2);
lean_ctor_set(x_3, 4, x_2);
lean_ctor_set(x_3, 5, x_2);
lean_ctor_set(x_3, 6, x_2);
return x_3;
x_3 = l_Lean_Elab_ContextInfo_mctx___default___closed__4;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Elab_ContextInfo_mctx___default() {
_start:
{
lean_object* x_1;
x_1 = l_Lean_Elab_ContextInfo_mctx___default___closed__4;
x_1 = l_Lean_Elab_ContextInfo_mctx___default___closed__5;
return x_1;
}
}
@ -511,22 +526,10 @@ return x_2;
static lean_object* _init_l_Lean_Elab_instInhabitedContextInfo___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_ContextInfo_mctx___default___closed__2;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_instInhabitedContextInfo___closed__3() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = 1;
x_2 = l_Lean_Elab_instInhabitedContextInfo___closed__1;
x_3 = l_Lean_Elab_instInhabitedContextInfo___closed__2;
x_3 = l_Lean_Elab_ContextInfo_mctx___default___closed__4;
x_4 = lean_alloc_ctor(0, 2, 1);
lean_ctor_set(x_4, 0, x_2);
lean_ctor_set(x_4, 1, x_3);
@ -534,7 +537,7 @@ lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Elab_instInhabitedContextInfo___closed__4() {
static lean_object* _init_l_Lean_Elab_instInhabitedContextInfo___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2;
@ -543,7 +546,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static uint32_t _init_l_Lean_Elab_instInhabitedContextInfo___closed__5() {
static uint32_t _init_l_Lean_Elab_instInhabitedContextInfo___closed__4() {
_start:
{
lean_object* x_1; uint32_t x_2;
@ -552,14 +555,14 @@ x_2 = lean_uint32_of_nat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_instInhabitedContextInfo___closed__6() {
static lean_object* _init_l_Lean_Elab_instInhabitedContextInfo___closed__5() {
_start:
{
uint32_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_Elab_instInhabitedContextInfo___closed__5;
x_1 = l_Lean_Elab_instInhabitedContextInfo___closed__4;
x_2 = 0;
x_3 = lean_box(0);
x_4 = l_Lean_Elab_instInhabitedContextInfo___closed__4;
x_4 = l_Lean_Elab_instInhabitedContextInfo___closed__3;
x_5 = lean_alloc_ctor(0, 4, 5);
lean_ctor_set(x_5, 0, x_3);
lean_ctor_set(x_5, 1, x_4);
@ -570,14 +573,14 @@ lean_ctor_set_uint8(x_5, sizeof(void*)*4 + 4, x_2);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_instInhabitedContextInfo___closed__7() {
static lean_object* _init_l_Lean_Elab_instInhabitedContextInfo___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_Elab_instInhabitedContextInfo___closed__1;
x_2 = l_Lean_Elab_instInhabitedContextInfo___closed__3;
x_3 = l_Lean_Elab_instInhabitedContextInfo___closed__4;
x_4 = l_Lean_Elab_instInhabitedContextInfo___closed__6;
x_2 = l_Lean_Elab_instInhabitedContextInfo___closed__2;
x_3 = l_Lean_Elab_instInhabitedContextInfo___closed__3;
x_4 = l_Lean_Elab_instInhabitedContextInfo___closed__5;
x_5 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
@ -586,7 +589,7 @@ lean_ctor_set(x_5, 3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_instInhabitedContextInfo___closed__8() {
static lean_object* _init_l_Lean_Elab_instInhabitedContextInfo___closed__7() {
_start:
{
lean_object* x_1;
@ -594,12 +597,12 @@ x_1 = lean_mk_string("");
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_instInhabitedContextInfo___closed__9() {
static lean_object* _init_l_Lean_Elab_instInhabitedContextInfo___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_instInhabitedContextInfo___closed__8;
x_2 = l_Lean_Elab_instInhabitedContextInfo___closed__4;
x_1 = l_Lean_Elab_instInhabitedContextInfo___closed__7;
x_2 = l_Lean_Elab_instInhabitedContextInfo___closed__3;
x_3 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
@ -607,14 +610,33 @@ lean_ctor_set(x_3, 2, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_instInhabitedContextInfo___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Elab_ContextInfo_mctx___default___closed__3;
x_3 = l_Lean_Elab_ContextInfo_mctx___default___closed__4;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Elab_instInhabitedContextInfo___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = lean_box(0);
x_2 = l_Lean_Elab_instInhabitedContextInfo___closed__7;
x_3 = l_Lean_Elab_instInhabitedContextInfo___closed__9;
x_4 = l_Lean_Elab_ContextInfo_mctx___default___closed__4;
x_2 = l_Lean_Elab_instInhabitedContextInfo___closed__6;
x_3 = l_Lean_Elab_instInhabitedContextInfo___closed__8;
x_4 = l_Lean_Elab_instInhabitedContextInfo___closed__9;
x_5 = lean_box(0);
x_6 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_6, 0, x_2);
@ -678,7 +700,7 @@ static lean_object* _init_l_Lean_Elab_instInhabitedTermInfo___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Elab_instInhabitedContextInfo___closed__4;
x_1 = l_Lean_Elab_instInhabitedContextInfo___closed__3;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
@ -698,7 +720,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; size_t x_4; lean_object* x_5;
x_1 = l_Lean_Elab_instInhabitedTermInfo___closed__2;
x_2 = l_Lean_Elab_instInhabitedContextInfo___closed__4;
x_2 = l_Lean_Elab_instInhabitedContextInfo___closed__3;
x_3 = lean_unsigned_to_nat(0u);
x_4 = l_Lean_Elab_instInhabitedTermInfo___closed__3;
x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1);
@ -838,7 +860,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_box(0);
x_2 = l_Lean_Elab_instInhabitedElabInfo___closed__1;
x_3 = l_Lean_Elab_ContextInfo_mctx___default___closed__4;
x_3 = l_Lean_Elab_ContextInfo_mctx___default___closed__5;
x_4 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_4, 0, x_2);
lean_ctor_set(x_4, 1, x_3);
@ -2106,7 +2128,7 @@ _start:
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24;
x_5 = lean_box(0);
x_6 = l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__1;
x_7 = l_Lean_Elab_instInhabitedContextInfo___closed__4;
x_7 = l_Lean_Elab_instInhabitedContextInfo___closed__3;
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_9, 0, x_6);
@ -2489,7 +2511,7 @@ static lean_object* _init_l___private_Lean_Elab_InfoTree_0__Lean_Elab_formatStxR
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Elab_instInhabitedContextInfo___closed__8;
x_1 = l_Lean_Elab_instInhabitedContextInfo___closed__7;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
@ -8268,6 +8290,8 @@ l_Lean_Elab_ContextInfo_mctx___default___closed__3 = _init_l_Lean_Elab_ContextIn
lean_mark_persistent(l_Lean_Elab_ContextInfo_mctx___default___closed__3);
l_Lean_Elab_ContextInfo_mctx___default___closed__4 = _init_l_Lean_Elab_ContextInfo_mctx___default___closed__4();
lean_mark_persistent(l_Lean_Elab_ContextInfo_mctx___default___closed__4);
l_Lean_Elab_ContextInfo_mctx___default___closed__5 = _init_l_Lean_Elab_ContextInfo_mctx___default___closed__5();
lean_mark_persistent(l_Lean_Elab_ContextInfo_mctx___default___closed__5);
l_Lean_Elab_ContextInfo_mctx___default = _init_l_Lean_Elab_ContextInfo_mctx___default();
lean_mark_persistent(l_Lean_Elab_ContextInfo_mctx___default);
l_Lean_Elab_ContextInfo_options___default = _init_l_Lean_Elab_ContextInfo_options___default();
@ -8283,8 +8307,8 @@ lean_mark_persistent(l_Lean_Elab_instInhabitedContextInfo___closed__2);
l_Lean_Elab_instInhabitedContextInfo___closed__3 = _init_l_Lean_Elab_instInhabitedContextInfo___closed__3();
lean_mark_persistent(l_Lean_Elab_instInhabitedContextInfo___closed__3);
l_Lean_Elab_instInhabitedContextInfo___closed__4 = _init_l_Lean_Elab_instInhabitedContextInfo___closed__4();
lean_mark_persistent(l_Lean_Elab_instInhabitedContextInfo___closed__4);
l_Lean_Elab_instInhabitedContextInfo___closed__5 = _init_l_Lean_Elab_instInhabitedContextInfo___closed__5();
lean_mark_persistent(l_Lean_Elab_instInhabitedContextInfo___closed__5);
l_Lean_Elab_instInhabitedContextInfo___closed__6 = _init_l_Lean_Elab_instInhabitedContextInfo___closed__6();
lean_mark_persistent(l_Lean_Elab_instInhabitedContextInfo___closed__6);
l_Lean_Elab_instInhabitedContextInfo___closed__7 = _init_l_Lean_Elab_instInhabitedContextInfo___closed__7();

View file

@ -217,6 +217,7 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Term_mkCoe___closed__1;
LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Term_throwErrorIfErrors___closed__2;
static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__14;
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Elab_autoBoundImplicitExceptionId;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -2121,18 +2122,20 @@ return x_5;
static lean_object* _init_l_Lean_Elab_Term_instInhabitedSavedState___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Elab_Term_State_infoState___default___closed__3;
x_3 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_2);
lean_ctor_set(x_3, 4, x_2);
lean_ctor_set(x_3, 5, x_2);
lean_ctor_set(x_3, 6, x_2);
return x_3;
x_3 = l_Lean_Elab_Term_instInhabitedSavedState___closed__2;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Elab_Term_instInhabitedSavedState___closed__11() {
@ -44059,9 +44062,28 @@ return x_6;
static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Elab_Term_State_infoState___default___closed__3;
x_3 = l_Lean_Elab_Term_instInhabitedSavedState___closed__2;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Term_instInhabitedSavedState___closed__10;
x_2 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__8;
x_3 = l_Lean_Elab_Term_instInhabitedSavedState___closed__18;
x_4 = l_Lean_Elab_Term_Context_autoBoundImplicits___default___closed__3;
x_5 = lean_alloc_ctor(0, 4, 0);
@ -44072,7 +44094,7 @@ lean_ctor_set(x_5, 3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__9() {
static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
@ -44082,7 +44104,7 @@ x_3 = lean_nat_add(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__10() {
static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__11() {
_start:
{
lean_object* x_1;
@ -44090,21 +44112,21 @@ x_1 = lean_mk_string("_uniq");
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__10;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__11;
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__11;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__12;
x_2 = lean_unsigned_to_nat(1u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
@ -44112,7 +44134,7 @@ lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__13() {
static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__14() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3;
@ -44138,9 +44160,9 @@ x_10 = lean_box(0);
x_33 = l_Lean_maxRecDepth;
x_34 = l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_218____spec__1(x_3, x_33);
x_35 = l_Lean_Core_getMaxHeartbeats(x_3);
x_36 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__9;
x_37 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__12;
x_38 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__13;
x_36 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__10;
x_37 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__13;
x_38 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__14;
x_39 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_39, 0, x_2);
lean_ctor_set(x_39, 1, x_36);
@ -44178,7 +44200,7 @@ x_50 = lean_st_ref_get(x_48, x_49);
x_51 = lean_ctor_get(x_50, 1);
lean_inc(x_51);
lean_dec(x_50);
x_52 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__8;
x_52 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__9;
x_53 = lean_st_mk_ref(x_52, x_51);
x_54 = lean_ctor_get(x_53, 0);
lean_inc(x_54);
@ -49747,6 +49769,8 @@ l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__12 = _init_l_Lean_Elab_T
lean_mark_persistent(l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__12);
l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__13 = _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__13();
lean_mark_persistent(l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__13);
l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__14 = _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__14();
lean_mark_persistent(l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__14);
l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___closed__1 = _init_l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___closed__1();
lean_mark_persistent(l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___closed__1);
l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___closed__2 = _init_l_List_foldlM___at_Lean_Elab_Term_evalExpr___spec__8___closed__2();

View file

@ -259,6 +259,7 @@ static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2309____closed__14;
static lean_object* l_Lean_MessageData_formatAux___closed__6;
static lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_2309____closed__3;
uint8_t l_UInt32_decEq(uint32_t, uint32_t);
static lean_object* l_Lean_MessageData_instantiateMVars___closed__5;
static lean_object* l_Lean_MessageData_formatAux___closed__5;
LEAN_EXPORT lean_object* l_Lean_Message_toString___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
@ -973,24 +974,38 @@ static lean_object* _init_l_Lean_MessageData_instantiateMVars___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_MessageData_instantiateMVars___closed__2;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_MessageData_instantiateMVars___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_MessageData_instantiateMVars___closed__3;
x_3 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_2);
lean_ctor_set(x_3, 4, x_2);
lean_ctor_set(x_3, 5, x_2);
lean_ctor_set(x_3, 6, x_2);
return x_3;
x_3 = l_Lean_MessageData_instantiateMVars___closed__4;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_MessageData_instantiateMVars(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3;
x_2 = l_Lean_MessageData_instantiateMVars___closed__4;
x_2 = l_Lean_MessageData_instantiateMVars___closed__5;
x_3 = l_Lean_MessageData_instantiateMVars_visit(x_1, x_2);
return x_3;
}
@ -5456,7 +5471,7 @@ lean_dec(x_1);
x_6 = lean_ctor_get(x_5, 1);
lean_inc(x_6);
lean_dec(x_5);
x_7 = l_Lean_MessageData_instantiateMVars___closed__4;
x_7 = l_Lean_MessageData_instantiateMVars___closed__5;
x_8 = l_Lean_addMessageContextPartial___rarg___lambda__1___closed__2;
x_9 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_9, 0, x_2);
@ -6528,7 +6543,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Message_0__Lean_KernelException_mkCtx(
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7;
x_5 = l_Lean_MessageData_instantiateMVars___closed__4;
x_5 = l_Lean_MessageData_instantiateMVars___closed__5;
x_6 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
@ -7300,6 +7315,8 @@ l_Lean_MessageData_instantiateMVars___closed__3 = _init_l_Lean_MessageData_insta
lean_mark_persistent(l_Lean_MessageData_instantiateMVars___closed__3);
l_Lean_MessageData_instantiateMVars___closed__4 = _init_l_Lean_MessageData_instantiateMVars___closed__4();
lean_mark_persistent(l_Lean_MessageData_instantiateMVars___closed__4);
l_Lean_MessageData_instantiateMVars___closed__5 = _init_l_Lean_MessageData_instantiateMVars___closed__5();
lean_mark_persistent(l_Lean_MessageData_instantiateMVars___closed__5);
l_Lean_MessageData_nil = _init_l_Lean_MessageData_nil();
lean_mark_persistent(l_Lean_MessageData_nil);
l_Lean_MessageData_formatAux___closed__1 = _init_l_Lean_MessageData_formatAux___closed__1();

View file

@ -244,6 +244,7 @@ static lean_object* l_Lean_Meta_instMonadBacktrackSavedStateMetaM___closed__1;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_liftMkBindingM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_mkAppN(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_State_mctx___default___closed__3;
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD(lean_object*);
static lean_object* l_Lean_Meta_Context_lctx___default___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_instantiateForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -282,7 +283,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewBinderI
lean_object* lean_array_fget(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_getZetaFVarIds(lean_object*);
lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_instInhabitedSavedState___closed__3;
static uint32_t l_Lean_Meta_instInhabitedSavedState___closed__3;
lean_object* l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_218____spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_map2MetaM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_throwUnknownFVar(lean_object*);
@ -442,7 +443,7 @@ extern lean_object* l_Lean_instInhabitedExpr;
LEAN_EXPORT uint8_t l_Lean_Meta_Config_ctxApprox___default;
LEAN_EXPORT lean_object* l_Lean_Meta_map1MetaM(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_dependsOn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static uint32_t l_Lean_Meta_instInhabitedSavedState___closed__4;
static lean_object* l_Lean_Meta_instInhabitedSavedState___closed__4;
lean_object* l_Array_reverse___rarg(lean_object*);
lean_object* l_Lean_ppExpr(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_assignLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -1566,24 +1567,38 @@ static lean_object* _init_l_Lean_Meta_State_mctx___default___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_Cache_inferType___default___closed__2;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_State_mctx___default___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Meta_State_mctx___default___closed__1;
x_3 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_2);
lean_ctor_set(x_3, 4, x_2);
lean_ctor_set(x_3, 5, x_2);
lean_ctor_set(x_3, 6, x_2);
return x_3;
x_3 = l_Lean_Meta_State_mctx___default___closed__2;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Meta_State_mctx___default() {
_start:
{
lean_object* x_1;
x_1 = l_Lean_Meta_State_mctx___default___closed__2;
x_1 = l_Lean_Meta_State_mctx___default___closed__3;
return x_1;
}
}
@ -1688,7 +1703,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = lean_box(0);
x_2 = l_Lean_Meta_State_mctx___default___closed__2;
x_2 = l_Lean_Meta_State_mctx___default___closed__3;
x_3 = l_Lean_Meta_instInhabitedCache___closed__2;
x_4 = l_Lean_Meta_instInhabitedState___closed__3;
x_5 = lean_alloc_ctor(0, 4, 0);
@ -1719,22 +1734,10 @@ return x_2;
static lean_object* _init_l_Lean_Meta_instInhabitedSavedState___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_Cache_inferType___default___closed__2;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_instInhabitedSavedState___closed__3() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = 1;
x_2 = l_Lean_Meta_instInhabitedSavedState___closed__1;
x_3 = l_Lean_Meta_instInhabitedSavedState___closed__2;
x_3 = l_Lean_Meta_State_mctx___default___closed__2;
x_4 = lean_alloc_ctor(0, 2, 1);
lean_ctor_set(x_4, 0, x_2);
lean_ctor_set(x_4, 1, x_3);
@ -1742,7 +1745,7 @@ lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_1);
return x_4;
}
}
static uint32_t _init_l_Lean_Meta_instInhabitedSavedState___closed__4() {
static uint32_t _init_l_Lean_Meta_instInhabitedSavedState___closed__3() {
_start:
{
lean_object* x_1; uint32_t x_2;
@ -1751,11 +1754,11 @@ x_2 = lean_uint32_of_nat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_instInhabitedSavedState___closed__5() {
static lean_object* _init_l_Lean_Meta_instInhabitedSavedState___closed__4() {
_start:
{
uint32_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_Meta_instInhabitedSavedState___closed__4;
x_1 = l_Lean_Meta_instInhabitedSavedState___closed__3;
x_2 = 0;
x_3 = lean_box(0);
x_4 = l_Lean_Meta_ParamInfo_backDeps___default___closed__1;
@ -1769,14 +1772,14 @@ lean_ctor_set_uint8(x_5, sizeof(void*)*4 + 4, x_2);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_instInhabitedSavedState___closed__6() {
static lean_object* _init_l_Lean_Meta_instInhabitedSavedState___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_Meta_instInhabitedSavedState___closed__1;
x_2 = l_Lean_Meta_instInhabitedSavedState___closed__3;
x_2 = l_Lean_Meta_instInhabitedSavedState___closed__2;
x_3 = l_Lean_Meta_ParamInfo_backDeps___default___closed__1;
x_4 = l_Lean_Meta_instInhabitedSavedState___closed__5;
x_4 = l_Lean_Meta_instInhabitedSavedState___closed__4;
x_5 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
@ -1785,7 +1788,7 @@ lean_ctor_set(x_5, 3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_instInhabitedSavedState___closed__7() {
static lean_object* _init_l_Lean_Meta_instInhabitedSavedState___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
@ -1797,7 +1800,7 @@ lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_instInhabitedSavedState___closed__8() {
static lean_object* _init_l_Lean_Meta_instInhabitedSavedState___closed__7() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3;
@ -1809,14 +1812,14 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_instInhabitedSavedState___closed__9() {
static lean_object* _init_l_Lean_Meta_instInhabitedSavedState___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_Meta_instInhabitedSavedState___closed__6;
x_1 = l_Lean_Meta_instInhabitedSavedState___closed__5;
x_2 = lean_unsigned_to_nat(0u);
x_3 = l_Lean_Meta_instInhabitedSavedState___closed__7;
x_4 = l_Lean_Meta_instInhabitedSavedState___closed__8;
x_3 = l_Lean_Meta_instInhabitedSavedState___closed__6;
x_4 = l_Lean_Meta_instInhabitedSavedState___closed__7;
x_5 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
@ -1825,12 +1828,31 @@ lean_ctor_set(x_5, 3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_instInhabitedSavedState___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Meta_State_mctx___default___closed__1;
x_3 = l_Lean_Meta_State_mctx___default___closed__2;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Meta_instInhabitedSavedState___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = lean_box(0);
x_2 = l_Lean_Meta_State_mctx___default___closed__2;
x_2 = l_Lean_Meta_instInhabitedSavedState___closed__9;
x_3 = l_Lean_Meta_instInhabitedCache___closed__2;
x_4 = l_Lean_Meta_instInhabitedState___closed__3;
x_5 = lean_alloc_ctor(0, 4, 0);
@ -1845,7 +1867,7 @@ static lean_object* _init_l_Lean_Meta_instInhabitedSavedState___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_instInhabitedSavedState___closed__9;
x_1 = l_Lean_Meta_instInhabitedSavedState___closed__8;
x_2 = l_Lean_Meta_instInhabitedSavedState___closed__10;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
@ -3348,7 +3370,7 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = lean_box(0);
x_2 = l_Lean_Meta_State_mctx___default___closed__2;
x_2 = l_Lean_Meta_State_mctx___default___closed__3;
x_3 = l_Lean_Meta_instInhabitedCache___closed__2;
x_4 = l_Lean_Meta_State_postponed___default___closed__3;
x_5 = lean_alloc_ctor(0, 4, 0);
@ -28654,6 +28676,8 @@ l_Lean_Meta_State_mctx___default___closed__1 = _init_l_Lean_Meta_State_mctx___de
lean_mark_persistent(l_Lean_Meta_State_mctx___default___closed__1);
l_Lean_Meta_State_mctx___default___closed__2 = _init_l_Lean_Meta_State_mctx___default___closed__2();
lean_mark_persistent(l_Lean_Meta_State_mctx___default___closed__2);
l_Lean_Meta_State_mctx___default___closed__3 = _init_l_Lean_Meta_State_mctx___default___closed__3();
lean_mark_persistent(l_Lean_Meta_State_mctx___default___closed__3);
l_Lean_Meta_State_mctx___default = _init_l_Lean_Meta_State_mctx___default();
lean_mark_persistent(l_Lean_Meta_State_mctx___default);
l_Lean_Meta_State_cache___default = _init_l_Lean_Meta_State_cache___default();
@ -28682,8 +28706,8 @@ lean_mark_persistent(l_Lean_Meta_instInhabitedSavedState___closed__1);
l_Lean_Meta_instInhabitedSavedState___closed__2 = _init_l_Lean_Meta_instInhabitedSavedState___closed__2();
lean_mark_persistent(l_Lean_Meta_instInhabitedSavedState___closed__2);
l_Lean_Meta_instInhabitedSavedState___closed__3 = _init_l_Lean_Meta_instInhabitedSavedState___closed__3();
lean_mark_persistent(l_Lean_Meta_instInhabitedSavedState___closed__3);
l_Lean_Meta_instInhabitedSavedState___closed__4 = _init_l_Lean_Meta_instInhabitedSavedState___closed__4();
lean_mark_persistent(l_Lean_Meta_instInhabitedSavedState___closed__4);
l_Lean_Meta_instInhabitedSavedState___closed__5 = _init_l_Lean_Meta_instInhabitedSavedState___closed__5();
lean_mark_persistent(l_Lean_Meta_instInhabitedSavedState___closed__5);
l_Lean_Meta_instInhabitedSavedState___closed__6 = _init_l_Lean_Meta_instInhabitedSavedState___closed__6();

View file

@ -2948,18 +2948,20 @@ return x_3;
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_408____lambda__1___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_408____lambda__1___closed__8;
x_3 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_2);
lean_ctor_set(x_3, 4, x_2);
lean_ctor_set(x_3, 5, x_2);
lean_ctor_set(x_3, 6, x_2);
return x_3;
x_3 = l_Std_PersistentHashMap_empty___at_Lean_Meta_Instances_instanceNames___default___spec__1___closed__3;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_408____lambda__1___closed__10() {

View file

@ -324,6 +324,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_recursorAttribute___lambda__6(lean_object*)
static lean_object* l_Lean_Meta_Attribute_Recursor_getMajorPos___closed__6;
static lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___closed__5;
lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__21;
uint8_t lean_expr_eqv(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____spec__1___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -10807,42 +10808,36 @@ static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__10;
x_3 = lean_alloc_ctor(0, 7, 0);
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__3;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_2);
lean_ctor_set(x_3, 4, x_2);
lean_ctor_set(x_3, 5, x_2);
lean_ctor_set(x_3, 6, x_2);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__3;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__10;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__11;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__13() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__3;
x_2 = lean_unsigned_to_nat(0u);
@ -10852,6 +10847,14 @@ lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__14() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__15() {
_start:
{
@ -10867,6 +10870,18 @@ return x_3;
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__3;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Expr_instBEqExpr;
x_2 = lean_alloc_closure((void*)(l_instBEqProd___rarg), 4, 2);
@ -10875,7 +10890,7 @@ lean_closure_set(x_2, 1, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__17() {
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2;
@ -10886,7 +10901,7 @@ lean_closure_set(x_2, 1, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__18() {
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
@ -10898,14 +10913,14 @@ lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__19() {
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__12;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__14;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__15;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__18;
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__13;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__15;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__16;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__19;
x_5 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
@ -10917,13 +10932,13 @@ lean_ctor_set(x_5, 6, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__20() {
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = lean_box(0);
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__11;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__19;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__12;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__20;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__7;
x_5 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_5, 0, x_2);
@ -10943,7 +10958,7 @@ x_7 = lean_st_ref_get(x_4, x_5);
x_8 = lean_ctor_get(x_7, 1);
lean_inc(x_8);
lean_dec(x_7);
x_9 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__20;
x_9 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__21;
x_10 = lean_st_mk_ref(x_9, x_8);
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
@ -12222,6 +12237,8 @@ l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___close
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__19);
l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__20 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__20();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__20);
l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__21 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__21();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____lambda__2___closed__21);
l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____closed__1();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____closed__1);
l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2258____closed__2();

View file

@ -506,6 +506,7 @@ static lean_object* l_Lean_Meta_SynthInstance_resume___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_checkMaxHeartbeats___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Meta_SynthInstance_getInstances___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_SynthInstance_wakeUp___closed__3;
static lean_object* l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__8;
static lean_object* l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___closed__4;
static lean_object* l_Lean_Meta_SynthInstance_checkMaxHeartbeats___closed__1;
static lean_object* l_Lean_Meta_SynthInstance_synth___closed__3;
@ -1112,25 +1113,39 @@ static lean_object* _init_l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode__
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__5;
x_3 = lean_alloc_ctor(0, 7, 0);
x_1 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__4;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_2);
lean_ctor_set(x_3, 4, x_2);
lean_ctor_set(x_3, 5, x_2);
lean_ctor_set(x_3, 6, x_2);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__5;
x_3 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__6;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__2;
x_2 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__6;
x_2 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__7;
x_3 = l_Lean_Meta_SynthInstance_inferTCGoalsRLAttr___lambda__5___closed__1;
x_4 = lean_unsigned_to_nat(0u);
x_5 = lean_alloc_ctor(0, 5, 0);
@ -1146,7 +1161,7 @@ static lean_object* _init_l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode()
_start:
{
lean_object* x_1;
x_1 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__7;
x_1 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__8;
return x_1;
}
}
@ -1156,7 +1171,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = lean_box(0);
x_2 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__2;
x_3 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__6;
x_3 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__7;
x_4 = lean_unsigned_to_nat(0u);
x_5 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_5, 0, x_2);
@ -10954,7 +10969,7 @@ else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33;
x_27 = lean_array_fget(x_15, x_18);
x_28 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__7;
x_28 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__8;
x_29 = lean_array_fset(x_15, x_18, x_28);
x_30 = lean_apply_1(x_1, x_27);
x_31 = lean_array_fset(x_29, x_18, x_30);
@ -11037,7 +11052,7 @@ else
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63;
x_53 = lean_array_fget(x_40, x_45);
x_54 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__7;
x_54 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__8;
x_55 = lean_array_fset(x_40, x_45, x_54);
x_56 = lean_apply_1(x_1, x_53);
x_57 = lean_array_fset(x_55, x_45, x_56);
@ -11125,7 +11140,7 @@ else
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51;
x_48 = lean_array_fget(x_41, x_44);
x_49 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__7;
x_49 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__8;
x_50 = lean_array_fset(x_41, x_44, x_49);
x_51 = !lean_is_exclusive(x_48);
if (x_51 == 0)
@ -11212,7 +11227,7 @@ else
{
lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87;
x_75 = lean_array_fget(x_65, x_70);
x_76 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__7;
x_76 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__8;
x_77 = lean_array_fset(x_65, x_70, x_76);
x_78 = lean_ctor_get(x_75, 0);
lean_inc(x_78);
@ -20315,6 +20330,8 @@ l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__6 = _init_l_Lean_
lean_mark_persistent(l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__6);
l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__7 = _init_l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__7();
lean_mark_persistent(l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__7);
l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__8 = _init_l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__8();
lean_mark_persistent(l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__8);
l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode = _init_l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode();
lean_mark_persistent(l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode);
l_Lean_Meta_SynthInstance_instInhabitedConsumerNode___closed__1 = _init_l_Lean_Meta_SynthInstance_instInhabitedConsumerNode___closed__1();

View file

@ -9537,18 +9537,20 @@ return x_3;
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1538____lambda__1___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1538____lambda__1___closed__8;
x_3 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_2);
lean_ctor_set(x_3, 4, x_2);
lean_ctor_set(x_3, 5, x_2);
lean_ctor_set(x_3, 6, x_2);
return x_3;
x_3 = l_Lean_Meta_CongrLemmas_lemmas___default___closed__3;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_CongrLemmas___hyg_1538____lambda__1___closed__10() {

View file

@ -367,6 +367,7 @@ lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_o
static lean_object* l_Lean_Meta_SimpLemma_getName___closed__2;
static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpLemmas_0__Lean_Meta_preprocess___lambda__1___closed__2;
static lean_object* l_Lean_Meta_simpExtension___closed__9;
static lean_object* l_Lean_Meta_mkSimpAttr___lambda__1___closed__29;
LEAN_EXPORT uint8_t l_Lean_Meta_SimpLemma_post___default;
lean_object* l_Lean_indentExpr(lean_object*);
static lean_object* l_Lean_Meta_mkSimpAttr___lambda__1___closed__22;
@ -8940,42 +8941,36 @@ static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__8;
x_3 = lean_alloc_ctor(0, 7, 0);
x_1 = l_Lean_Meta_instInhabitedSimpLemmas___closed__2;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_2);
lean_ctor_set(x_3, 4, x_2);
lean_ctor_set(x_3, 5, x_2);
lean_ctor_set(x_3, 6, x_2);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_instInhabitedSimpLemmas___closed__2;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__8;
x_3 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__9;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__11() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_instInhabitedSimpLemmas___closed__2;
x_2 = lean_unsigned_to_nat(0u);
@ -8985,6 +8980,14 @@ lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__12() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__13() {
_start:
{
@ -9000,6 +9003,18 @@ return x_3;
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_instInhabitedSimpLemmas___closed__2;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Expr_instBEqExpr;
x_2 = lean_alloc_closure((void*)(l_instBEqProd___rarg), 4, 2);
@ -9008,7 +9023,7 @@ lean_closure_set(x_2, 1, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__15() {
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2;
@ -9019,7 +9034,7 @@ lean_closure_set(x_2, 1, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__16() {
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
@ -9031,14 +9046,14 @@ lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__17() {
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__10;
x_2 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__12;
x_3 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__13;
x_4 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__16;
x_1 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__11;
x_2 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__13;
x_3 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__14;
x_4 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__17;
x_5 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
@ -9050,13 +9065,13 @@ lean_ctor_set(x_5, 6, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__18() {
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = lean_box(0);
x_2 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__9;
x_3 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__17;
x_2 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__10;
x_3 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__18;
x_4 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__5;
x_5 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_5, 0, x_2);
@ -9066,7 +9081,7 @@ lean_ctor_set(x_5, 3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__19() {
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__20() {
_start:
{
lean_object* x_1;
@ -9074,16 +9089,16 @@ x_1 = lean_mk_string("invalid 'simp', it is not a proposition nor a definition (
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__20() {
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__19;
x_1 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__20;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__21() {
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__22() {
_start:
{
lean_object* x_1;
@ -9091,17 +9106,17 @@ x_1 = lean_mk_string("Lean");
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__22() {
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_box(0);
x_2 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__21;
x_2 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__22;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__23() {
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__24() {
_start:
{
lean_object* x_1;
@ -9109,17 +9124,17 @@ x_1 = lean_mk_string("Parser");
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__24() {
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__25() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__22;
x_2 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__23;
x_1 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__23;
x_2 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__24;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__25() {
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__26() {
_start:
{
lean_object* x_1;
@ -9127,17 +9142,17 @@ x_1 = lean_mk_string("Tactic");
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__26() {
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__27() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__24;
x_2 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__25;
x_1 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__25;
x_2 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__26;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__27() {
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__28() {
_start:
{
lean_object* x_1;
@ -9145,12 +9160,12 @@ x_1 = lean_mk_string("simpPost");
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__28() {
static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__29() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__26;
x_2 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__27;
x_1 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__27;
x_2 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__28;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
@ -9163,7 +9178,7 @@ x_8 = lean_st_ref_get(x_6, x_7);
x_9 = lean_ctor_get(x_8, 1);
lean_inc(x_9);
lean_dec(x_8);
x_10 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__18;
x_10 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__19;
x_11 = lean_st_mk_ref(x_10, x_9);
x_12 = lean_ctor_get(x_11, 0);
lean_inc(x_12);
@ -9206,7 +9221,7 @@ if (x_35 == 0)
lean_object* x_36; lean_object* x_37; uint8_t x_38;
lean_dec(x_2);
lean_dec(x_1);
x_36 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__20;
x_36 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__21;
x_37 = l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(x_36, x_26, x_12, x_5, x_6, x_34);
lean_dec(x_6);
lean_dec(x_5);
@ -9265,7 +9280,7 @@ x_52 = lean_unsigned_to_nat(0u);
x_53 = l_Lean_Syntax_getArg(x_48, x_52);
lean_dec(x_48);
x_54 = l_Lean_Syntax_getKind(x_53);
x_55 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__28;
x_55 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__29;
x_56 = lean_name_eq(x_54, x_55);
lean_dec(x_54);
lean_inc(x_6);
@ -12210,6 +12225,8 @@ l_Lean_Meta_mkSimpAttr___lambda__1___closed__27 = _init_l_Lean_Meta_mkSimpAttr__
lean_mark_persistent(l_Lean_Meta_mkSimpAttr___lambda__1___closed__27);
l_Lean_Meta_mkSimpAttr___lambda__1___closed__28 = _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__28();
lean_mark_persistent(l_Lean_Meta_mkSimpAttr___lambda__1___closed__28);
l_Lean_Meta_mkSimpAttr___lambda__1___closed__29 = _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__29();
lean_mark_persistent(l_Lean_Meta_mkSimpAttr___lambda__1___closed__29);
l_Lean_Meta_mkSimpExt___closed__1 = _init_l_Lean_Meta_mkSimpExt___closed__1();
lean_mark_persistent(l_Lean_Meta_mkSimpExt___closed__1);
l_Lean_Meta_mkSimpExt___closed__2 = _init_l_Lean_Meta_mkSimpExt___closed__2();

View file

@ -50,12 +50,12 @@ static lean_object* l_Lean_Meta_throwTacticEx___rarg___closed__8;
lean_object* lean_array_push(lean_object*, lean_object*);
lean_object* lean_array_get_size(lean_object*);
lean_object* l_Lean_Meta_setMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MetavarContext_setMVarUserName(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_throwTacticEx___rarg___closed__3;
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_throwTacticEx___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_getNondepPropHyps___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_throwTacticEx___rarg___closed__1;
LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_Meta_getNondepPropHyps___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MetavarContext_renameMVar(lean_object*, lean_object*, lean_object*);
lean_object* l_Std_mkHashSetImp___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_throwTacticEx___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_throwTacticEx___rarg___closed__2;
@ -267,7 +267,7 @@ if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17;
x_14 = lean_ctor_get(x_11, 0);
x_15 = l_Lean_MetavarContext_setMVarUserName(x_14, x_1, x_2);
x_15 = l_Lean_MetavarContext_renameMVar(x_14, x_1, x_2);
lean_ctor_set(x_11, 0, x_15);
x_16 = lean_st_ref_set(x_4, x_11, x_12);
x_17 = !lean_is_exclusive(x_16);
@ -305,7 +305,7 @@ lean_inc(x_25);
lean_inc(x_24);
lean_inc(x_23);
lean_dec(x_11);
x_27 = l_Lean_MetavarContext_setMVarUserName(x_23, x_1, x_2);
x_27 = l_Lean_MetavarContext_renameMVar(x_23, x_1, x_2);
x_28 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_28, 0, x_27);
lean_ctor_set(x_28, 1, x_24);

View file

@ -115,6 +115,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInser
static lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Meta_UnificationHints_add___spec__6___closed__1;
lean_object* l_Lean_ConstantInfo_levelParams(lean_object*);
static lean_object* l_Lean_Meta_addUnificationHint___lambda__1___closed__5;
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__19;
LEAN_EXPORT lean_object* l_Lean_Meta_tryUnificationHints(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Meta_addUnificationHint___spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_unificationHintExtension___lambda__3(lean_object*);
@ -3919,42 +3920,36 @@ static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__8;
x_3 = lean_alloc_ctor(0, 7, 0);
x_1 = l_Lean_Meta_instInhabitedUnificationHints___closed__2;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_2);
lean_ctor_set(x_3, 4, x_2);
lean_ctor_set(x_3, 5, x_2);
lean_ctor_set(x_3, 6, x_2);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_instInhabitedUnificationHints___closed__2;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__8;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__9;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__11() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_instInhabitedUnificationHints___closed__2;
x_2 = lean_unsigned_to_nat(0u);
@ -3964,6 +3959,14 @@ lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__12() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__13() {
_start:
{
@ -3979,6 +3982,18 @@ return x_3;
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_instInhabitedUnificationHints___closed__2;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Expr_instBEqExpr;
x_2 = lean_alloc_closure((void*)(l_instBEqProd___rarg), 4, 2);
@ -3987,7 +4002,7 @@ lean_closure_set(x_2, 1, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__15() {
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2;
@ -3998,7 +4013,7 @@ lean_closure_set(x_2, 1, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__16() {
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
@ -4010,14 +4025,14 @@ lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__17() {
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__10;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__12;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__13;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__16;
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__11;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__13;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__14;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__17;
x_5 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
@ -4029,13 +4044,13 @@ lean_ctor_set(x_5, 6, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__18() {
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = lean_box(0);
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__9;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__17;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__10;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__18;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__5;
x_5 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_5, 0, x_2);
@ -4062,7 +4077,7 @@ x_9 = lean_st_ref_get(x_5, x_8);
x_10 = lean_ctor_get(x_9, 1);
lean_inc(x_10);
lean_dec(x_9);
x_11 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__18;
x_11 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__19;
x_12 = lean_st_mk_ref(x_11, x_10);
x_13 = lean_ctor_get(x_12, 0);
lean_inc(x_13);
@ -8893,6 +8908,8 @@ l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___clo
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__17);
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__18 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__18();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__18);
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__19 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__19();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__1___closed__19);
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__2___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__2___closed__1();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__2___closed__1);
l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__2___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_685____lambda__2___closed__2();

File diff suppressed because it is too large Load diff

View file

@ -356,6 +356,7 @@ LEAN_EXPORT lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda
lean_object* lean_panic_fn(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__39___at_Lean_ParserCompiler_compileParserExpr___spec__40(lean_object*);
LEAN_EXPORT lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__23(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__32;
static lean_object* l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__10;
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__34___at_Lean_ParserCompiler_compileParserExpr___spec__35___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_ParserCompiler_compileParserExpr___spec__8(lean_object*);
@ -26699,42 +26700,36 @@ static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___c
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__11;
x_3 = lean_alloc_ctor(0, 7, 0);
x_1 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__3;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_2);
lean_ctor_set(x_3, 4, x_2);
lean_ctor_set(x_3, 5, x_2);
lean_ctor_set(x_3, 6, x_2);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__3;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__11;
x_3 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__12;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__14() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__3;
x_2 = lean_unsigned_to_nat(0u);
@ -26744,6 +26739,14 @@ lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__15() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__16() {
_start:
{
@ -26759,6 +26762,18 @@ return x_3;
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__3;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Expr_instBEqExpr;
x_2 = lean_alloc_closure((void*)(l_instBEqProd___rarg), 4, 2);
@ -26767,7 +26782,7 @@ lean_closure_set(x_2, 1, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__18() {
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2;
@ -26778,7 +26793,7 @@ lean_closure_set(x_2, 1, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__19() {
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
@ -26790,14 +26805,14 @@ lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__20() {
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__13;
x_2 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__15;
x_3 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__16;
x_4 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__19;
x_1 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__14;
x_2 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__16;
x_3 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__17;
x_4 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__20;
x_5 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
@ -26809,13 +26824,13 @@ lean_ctor_set(x_5, 6, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__21() {
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__22() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = lean_box(0);
x_2 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__12;
x_3 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__20;
x_2 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__13;
x_3 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__21;
x_4 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__7;
x_5 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_5, 0, x_2);
@ -26825,7 +26840,7 @@ lean_ctor_set(x_5, 3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__22() {
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__23() {
_start:
{
lean_object* x_1;
@ -26833,7 +26848,7 @@ x_1 = lean_mk_string("Lean.ParserCompiler");
return x_1;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__23() {
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__24() {
_start:
{
lean_object* x_1;
@ -26841,7 +26856,7 @@ x_1 = lean_mk_string("Lean.ParserCompiler.compileCategoryParser");
return x_1;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__24() {
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__25() {
_start:
{
lean_object* x_1;
@ -26849,20 +26864,20 @@ x_1 = lean_mk_string("unreachable code has been reached");
return x_1;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__25() {
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__26() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__22;
x_2 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__23;
x_1 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__23;
x_2 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__24;
x_3 = lean_unsigned_to_nat(109u);
x_4 = lean_unsigned_to_nat(6u);
x_5 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__24;
x_5 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__25;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
return x_6;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__26() {
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__27() {
_start:
{
lean_object* x_1;
@ -26870,17 +26885,17 @@ x_1 = lean_mk_string("Attr");
return x_1;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__27() {
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__28() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_ParserCompiler_replaceParserTy___spec__1___rarg___closed__4;
x_2 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__26;
x_2 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__27;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__28() {
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__29() {
_start:
{
lean_object* x_1;
@ -26888,17 +26903,17 @@ x_1 = lean_mk_string("simple");
return x_1;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__29() {
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__30() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__27;
x_2 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__28;
x_1 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__28;
x_2 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__29;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__30() {
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__31() {
_start:
{
lean_object* x_1; lean_object* x_2;
@ -26907,7 +26922,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__31() {
static lean_object* _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__32() {
_start:
{
lean_object* x_1; lean_object* x_2;
@ -26927,7 +26942,7 @@ x_9 = lean_st_ref_get(x_5, x_6);
x_10 = lean_ctor_get(x_9, 1);
lean_inc(x_10);
lean_dec(x_9);
x_11 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__21;
x_11 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__22;
x_12 = lean_st_mk_ref(x_11, x_10);
x_13 = lean_ctor_get(x_12, 0);
lean_inc(x_13);
@ -26965,7 +26980,7 @@ x_24 = lean_ctor_get(x_18, 0);
lean_inc(x_24);
lean_dec(x_18);
x_25 = lean_mk_syntax_ident(x_2);
x_26 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__30;
x_26 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__31;
x_27 = lean_array_push(x_26, x_25);
x_28 = l_Lean_nullKind;
x_29 = lean_alloc_ctor(1, 2, 0);
@ -26985,10 +27000,10 @@ lean_inc(x_32);
lean_dec(x_31);
lean_inc(x_32);
x_33 = lean_mk_syntax_ident(x_32);
x_34 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__31;
x_34 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__32;
x_35 = lean_array_push(x_34, x_33);
x_36 = lean_array_push(x_35, x_29);
x_37 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__29;
x_37 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__30;
x_38 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_38, 0, x_37);
lean_ctor_set(x_38, 1, x_36);
@ -27010,10 +27025,10 @@ lean_inc(x_43);
lean_dec(x_42);
lean_inc(x_43);
x_44 = lean_mk_syntax_ident(x_43);
x_45 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__31;
x_45 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__32;
x_46 = lean_array_push(x_45, x_44);
x_47 = lean_array_push(x_46, x_29);
x_48 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__29;
x_48 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__30;
x_49 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_49, 0, x_48);
lean_ctor_set(x_49, 1, x_47);
@ -27031,7 +27046,7 @@ lean_dec(x_1);
x_52 = lean_ctor_get(x_22, 1);
lean_inc(x_52);
lean_dec(x_22);
x_53 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__25;
x_53 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__26;
x_54 = l_panic___at_Lean_ParserCompiler_compileCategoryParser___spec__1(x_53, x_4, x_5, x_52);
return x_54;
}
@ -27446,7 +27461,7 @@ x_59 = lean_st_ref_get(x_6, x_10);
x_60 = lean_ctor_get(x_59, 1);
lean_inc(x_60);
lean_dec(x_59);
x_61 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__21;
x_61 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__22;
x_62 = lean_st_mk_ref(x_61, x_60);
x_63 = lean_ctor_get(x_62, 0);
lean_inc(x_63);
@ -27613,7 +27628,7 @@ x_15 = lean_st_ref_get(x_6, x_14);
x_16 = lean_ctor_get(x_15, 1);
lean_inc(x_16);
lean_dec(x_15);
x_17 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__21;
x_17 = l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__22;
x_18 = lean_st_mk_ref(x_17, x_16);
x_19 = lean_ctor_get(x_18, 0);
lean_inc(x_19);
@ -27889,6 +27904,8 @@ l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__30 = _init_l_Lean_P
lean_mark_persistent(l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__30);
l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__31 = _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__31();
lean_mark_persistent(l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__31);
l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__32 = _init_l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__32();
lean_mark_persistent(l_Lean_ParserCompiler_compileCategoryParser___rarg___closed__32);
l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__1 = _init_l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__1();
lean_mark_persistent(l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__1);
l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__2 = _init_l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__2();

View file

@ -74,6 +74,7 @@ static lean_object* l_Lean_ppExt___closed__2;
LEAN_EXPORT uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*);
lean_object* l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_48____spec__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_ppFnsRef;
static lean_object* l_Lean_PPContext_mctx___default___closed__5;
lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
static lean_object* l_Lean_ppTerm___closed__4;
static lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_218____lambda__3___closed__2;
@ -411,24 +412,38 @@ static lean_object* _init_l_Lean_PPContext_mctx___default___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_PPContext_mctx___default___closed__2;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_PPContext_mctx___default___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_PPContext_mctx___default___closed__3;
x_3 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_2);
lean_ctor_set(x_3, 4, x_2);
lean_ctor_set(x_3, 5, x_2);
lean_ctor_set(x_3, 6, x_2);
return x_3;
x_3 = l_Lean_PPContext_mctx___default___closed__4;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_PPContext_mctx___default() {
_start:
{
lean_object* x_1;
x_1 = l_Lean_PPContext_mctx___default___closed__4;
x_1 = l_Lean_PPContext_mctx___default___closed__5;
return x_1;
}
}
@ -1577,6 +1592,8 @@ l_Lean_PPContext_mctx___default___closed__3 = _init_l_Lean_PPContext_mctx___defa
lean_mark_persistent(l_Lean_PPContext_mctx___default___closed__3);
l_Lean_PPContext_mctx___default___closed__4 = _init_l_Lean_PPContext_mctx___default___closed__4();
lean_mark_persistent(l_Lean_PPContext_mctx___default___closed__4);
l_Lean_PPContext_mctx___default___closed__5 = _init_l_Lean_PPContext_mctx___default___closed__5();
lean_mark_persistent(l_Lean_PPContext_mctx___default___closed__5);
l_Lean_PPContext_mctx___default = _init_l_Lean_PPContext_mctx___default();
lean_mark_persistent(l_Lean_PPContext_mctx___default);
l_Lean_PPContext_lctx___default___closed__1 = _init_l_Lean_PPContext_lctx___default___closed__1();

View file

@ -292,18 +292,20 @@ return x_3;
static lean_object* _init_l_Lean_Widget_instInhabitedInfoWithCtx___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Widget_instInhabitedInfoWithCtx___closed__12;
x_3 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_2);
lean_ctor_set(x_3, 4, x_2);
lean_ctor_set(x_3, 5, x_2);
lean_ctor_set(x_3, 6, x_2);
return x_3;
x_3 = l_Lean_Widget_instInhabitedInfoWithCtx___closed__4;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Widget_instInhabitedInfoWithCtx___closed__14() {

View file

@ -13124,18 +13124,20 @@ return x_3;
static lean_object* _init_l_Lean_Widget_instInhabitedEmbedFmt___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Widget_instInhabitedEmbedFmt___closed__11;
x_3 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_2);
lean_ctor_set(x_3, 4, x_2);
lean_ctor_set(x_3, 5, x_2);
lean_ctor_set(x_3, 6, x_2);
return x_3;
x_3 = l_Lean_Widget_instInhabitedEmbedFmt___closed__4;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_2);
lean_ctor_set(x_4, 3, x_2);
lean_ctor_set(x_4, 4, x_3);
lean_ctor_set(x_4, 5, x_2);
lean_ctor_set(x_4, 6, x_2);
lean_ctor_set(x_4, 7, x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Widget_instInhabitedEmbedFmt___closed__13() {