chore: update stage0
This commit is contained in:
parent
478d42105f
commit
7ee938290b
5 changed files with 4695 additions and 4107 deletions
595
stage0/stdlib/Lean/Elab/Tactic/Grind.c
generated
595
stage0/stdlib/Lean/Elab/Tactic/Grind.c
generated
File diff suppressed because it is too large
Load diff
262
stage0/stdlib/Lean/Meta/ExprDefEq.c
generated
262
stage0/stdlib/Lean/Meta/ExprDefEq.c
generated
|
|
@ -103,12 +103,12 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_typeOccurs
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_checkMVar___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Meta_CheckAssignment_checkMVar___spec__22___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNodeBefore___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__24___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___closed__2;
|
||||
lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__5;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_typeOccursCheckImp_visit___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_le(size_t, size_t);
|
||||
|
|
@ -163,6 +163,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypes
|
|||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom_visit___spec__3___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_sort___override(lean_object*);
|
||||
|
|
@ -193,7 +194,6 @@ static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOth
|
|||
lean_object* l_Lean_Meta_projectCore_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_FVarId_isLetVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__3___closed__6;
|
||||
|
|
@ -203,6 +203,8 @@ static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOth
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeftRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_isDefEqBindingDomain___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBindingAux___spec__30___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__12;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__11;
|
||||
lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__19(lean_object*, lean_object*, size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_isDefEqStringLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -227,6 +229,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_isDefEqBindingDomain___at___private_Lean_Me
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isAssignable(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031_(lean_object*);
|
||||
lean_object* l_Lean_Expr_bvar___override(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Meta_CheckAssignment_checkMVar___spec__22(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
|
|
@ -261,8 +264,6 @@ static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___c
|
|||
lean_object* l_Lean_Meta_throwIsDefEqStuck___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignmentQuick_checkImpl_visit___lambda__7___boxed(lean_object**);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_ConstantInfo_hasValue(lean_object*, uint8_t);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__9;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDelta(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__32(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*);
|
||||
|
|
@ -298,7 +299,6 @@ static lean_object* l_Lean_withTraceNodeBefore___at___private_Lean_Meta_ExprDefE
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_MapDeclarationExtension_contains___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instInhabitedPersistentArrayNode(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__1;
|
||||
static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_5933____closed__2;
|
||||
|
|
@ -334,6 +334,7 @@ lean_object* l_Lean_Meta_getNumPostponed___rarg(lean_object*, lean_object*, lean
|
|||
static lean_object* l_Lean_Meta_CheckAssignmentQuick_checkImpl___closed__1;
|
||||
static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__64(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__2;
|
||||
static lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_expandDelayedAssigned_x3f___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignmentQuick_checkImpl_visit___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -363,7 +364,6 @@ LEAN_EXPORT lean_object* l_ReaderT_pure___at___private_Lean_Meta_ExprDefEq_0__Le
|
|||
size_t lean_ptr_addr(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_isDefEqBindingDomain___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBindingAux___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__11;
|
||||
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -396,6 +396,7 @@ lean_object* l___private_Lean_Expr_0__Lean_mkAppRangeAux(lean_object*, lean_obje
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at_Lean_Meta_CheckAssignment_checkMVar___spec__23___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isExprDefEqExpensive___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__1;
|
||||
static size_t l_Lean_PersistentHashMap_findAux___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___spec__2___closed__2;
|
||||
static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_typeOccursCheckImp_occursCheck___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -437,7 +438,6 @@ uint8_t lean_expr_eqv(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_checkMVar___spec__21___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_isDefEqBindingDomain___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBindingAux___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__3;
|
||||
static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_5933____closed__1;
|
||||
lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_arrowDomainsN___spec__6___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox_go___closed__2;
|
||||
|
|
@ -498,7 +498,6 @@ LEAN_EXPORT lean_object* l_Lean_withTraceNodeBefore___at___private_Lean_Meta_Exp
|
|||
lean_object* l_Lean_Meta_getStuckMVar_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__1;
|
||||
lean_object* l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__4(lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__9(lean_object*, lean_object*, size_t, size_t);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_45____closed__1;
|
||||
|
|
@ -602,7 +601,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processCon
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_mkAuxMVar(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_CheckAssignmentQuick_checkImpl_visit___lambda__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_addLetDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__13;
|
||||
lean_object* l_Lean_Expr_constName_x21(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_instInhabitedExpr;
|
||||
|
|
@ -647,6 +645,7 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_typeOccursCheckImp_visit(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_CheckAssignment_checkMVar___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__4;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_backward_isDefEq_lazyWhnfCore;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__36(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -655,6 +654,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqPro
|
|||
LEAN_EXPORT lean_object* l_Lean_occursCheck_visit___at_Lean_Meta_checkAssignment___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_isDefEqBindingDomain___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBindingAux___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_checkMVar___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_MetaTypes_0__Lean_Meta_beqTransparencyMode____x40_Init_MetaTypes___hyg_73_(uint8_t, uint8_t);
|
||||
uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*);
|
||||
|
|
@ -687,18 +687,17 @@ lean_object* l_Lean_LocalDecl_fvarId(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__64___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_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ReaderT_pure___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignmentQuick_checkImpl_visit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__28(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__62___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__2;
|
||||
lean_object* l_Lean_Meta_isListLevelDefEqAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MVarId_isReadOnlyOrSyntheticOpaque(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__6;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_occursCheck_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__69(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_instMonadMetaM;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -794,7 +793,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__2(lean_object*
|
|||
static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__62(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_isDefEqBindingDomain___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBindingAux___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__12;
|
||||
static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_simpAssignmentArg___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDepsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -829,6 +827,7 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_v
|
|||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_typeOccursCheckImp_alreadyVisited(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_5____closed__9;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__6;
|
||||
lean_object* l_Lean_MVarId_isAssigned___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Meta_CheckAssignment_checkMVar___spec__30___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -855,7 +854,6 @@ static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__3___closed__12;
|
|||
lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__48___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_checkMVar___spec__45(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -879,7 +877,6 @@ lean_object* l_Lean_isTracingEnabledFor___rarg(lean_object*, lean_object*, lean_
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isProofQuick(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__4;
|
||||
lean_object* l_Lean_mkFreshFVarId___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ConstantInfo_hints(lean_object*);
|
||||
|
|
@ -973,6 +970,7 @@ static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment
|
|||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_5____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_typeOccursCheckImp_occursCheck___spec__5(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_CollectMVars_visit___spec__2(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_sameHeadSymbol___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_instInhabitedParamInfo;
|
||||
uint8_t l_Lean_Meta_TransparencyMode_lt(uint8_t, uint8_t);
|
||||
|
|
@ -1044,6 +1042,7 @@ static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___c
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__3___closed__1;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__8;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isNonTrivialRegular_consumeDefnPreamble(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqDeltaStep(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__3___closed__20;
|
||||
|
|
@ -1084,6 +1083,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_isDefEqBindingDomain___at___private_Lean_Me
|
|||
lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isExprDefEqExpensive___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_isEtaUnassignedMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_isProjectionFn___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isNonTrivialRegular___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_checkMVar___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1165,7 +1165,6 @@ static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_45____cl
|
|||
double lean_float_sub(double, double);
|
||||
LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_CheckAssignment_checkMVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___closed__1;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__10;
|
||||
uint8_t l_Lean_Expr_hasExprMVar(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_processPostponed(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -78779,131 +78778,20 @@ x_8 = lean_ctor_get(x_7, 0);
|
|||
lean_inc(x_8);
|
||||
lean_dec(x_7);
|
||||
x_9 = l_Lean_Meta_getUnfoldableConst_x3f(x_8, x_2, x_3, x_4, x_5, x_6);
|
||||
if (lean_obj_tag(x_9) == 0)
|
||||
{
|
||||
lean_object* x_10;
|
||||
x_10 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_10);
|
||||
if (lean_obj_tag(x_10) == 0)
|
||||
{
|
||||
uint8_t x_11;
|
||||
x_11 = !lean_is_exclusive(x_9);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13;
|
||||
x_12 = lean_ctor_get(x_9, 0);
|
||||
lean_dec(x_12);
|
||||
x_13 = lean_box(0);
|
||||
lean_ctor_set(x_9, 0, x_13);
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_14 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_9);
|
||||
x_15 = lean_box(0);
|
||||
x_16 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_14);
|
||||
return x_16;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_17;
|
||||
x_17 = !lean_is_exclusive(x_9);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; uint8_t x_20; uint8_t x_21;
|
||||
x_18 = lean_ctor_get(x_9, 0);
|
||||
lean_dec(x_18);
|
||||
x_19 = lean_ctor_get(x_10, 0);
|
||||
lean_inc(x_19);
|
||||
x_20 = 0;
|
||||
x_21 = l_Lean_ConstantInfo_hasValue(x_19, x_20);
|
||||
lean_dec(x_19);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
lean_object* x_22;
|
||||
lean_dec(x_10);
|
||||
x_22 = lean_box(0);
|
||||
lean_ctor_set(x_9, 0, x_22);
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26;
|
||||
x_23 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_9);
|
||||
x_24 = lean_ctor_get(x_10, 0);
|
||||
lean_inc(x_24);
|
||||
x_25 = 0;
|
||||
x_26 = l_Lean_ConstantInfo_hasValue(x_24, x_25);
|
||||
lean_dec(x_24);
|
||||
if (x_26 == 0)
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28;
|
||||
lean_dec(x_10);
|
||||
x_27 = lean_box(0);
|
||||
x_28 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_27);
|
||||
lean_ctor_set(x_28, 1, x_23);
|
||||
return x_28;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_29;
|
||||
x_29 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_10);
|
||||
lean_ctor_set(x_29, 1, x_23);
|
||||
return x_29;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_30;
|
||||
x_30 = !lean_is_exclusive(x_9);
|
||||
if (x_30 == 0)
|
||||
{
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
x_31 = lean_ctor_get(x_9, 0);
|
||||
x_32 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_32);
|
||||
lean_inc(x_31);
|
||||
lean_dec(x_9);
|
||||
x_33 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_33, 0, x_31);
|
||||
lean_ctor_set(x_33, 1, x_32);
|
||||
return x_33;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_34; lean_object* x_35;
|
||||
lean_object* x_10; lean_object* x_11;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
x_34 = lean_box(0);
|
||||
x_35 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_35, 0, x_34);
|
||||
lean_ctor_set(x_35, 1, x_6);
|
||||
return x_35;
|
||||
x_10 = lean_box(0);
|
||||
x_11 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_11, 0, x_10);
|
||||
lean_ctor_set(x_11, 1, x_6);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -108945,7 +108833,7 @@ lean_dec(x_4);
|
|||
return x_11;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__1() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -108955,17 +108843,17 @@ x_3 = l_Lean_Name_str___override(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__2() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__1;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__1;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_5____closed__9;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__3() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -108973,17 +108861,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__4() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__2;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__2;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__5() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -108991,37 +108879,37 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__6() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__5;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__7() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__6;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__6;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_5____closed__8;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__8() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__7;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__7;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_5____closed__9;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__9() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -109029,17 +108917,17 @@ x_1 = lean_mk_string_unchecked("ExprDefEq", 9, 9);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__10() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__8;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__9;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__8;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__9;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__11() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -109047,33 +108935,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__12() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__10;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__11;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__10;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__11;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__13() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__12;
|
||||
x_2 = lean_unsigned_to_nat(21092u);
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__12;
|
||||
x_2 = lean_unsigned_to_nat(21031u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Std_Range_forIn_x27_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass___spec__1___closed__1;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__13;
|
||||
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__13;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
|
|
@ -110058,33 +109946,33 @@ l_Lean_Meta_isExprDefEqAuxImpl___lambda__3___closed__19 = _init_l_Lean_Meta_isEx
|
|||
lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___lambda__3___closed__19);
|
||||
l_Lean_Meta_isExprDefEqAuxImpl___lambda__3___closed__20 = _init_l_Lean_Meta_isExprDefEqAuxImpl___lambda__3___closed__20();
|
||||
lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___lambda__3___closed__20);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__1);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__2);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__3);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__4);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__5);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__6();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__6);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__7);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__8();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__8);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__9();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__9);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__10();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__10);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__11();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__11);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__12();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__12);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__13();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092____closed__13);
|
||||
if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21092_(lean_io_mk_world());
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__1);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__2);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__3);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__4);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__5);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__6();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__6);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__7);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__8();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__8);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__9();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__9);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__10();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__10);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__11();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__11);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__12();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__12);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__13();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031____closed__13);
|
||||
if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_21031_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
708
stage0/stdlib/Lean/Meta/GetUnfoldableConst.c
generated
708
stage0/stdlib/Lean/Meta/GetUnfoldableConst.c
generated
|
|
@ -663,128 +663,132 @@ return x_33;
|
|||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_34;
|
||||
lean_free_object(x_12);
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
lean_ctor_set(x_7, 0, x_12);
|
||||
x_34 = lean_box(0);
|
||||
lean_ctor_set(x_7, 0, x_34);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_34;
|
||||
x_34 = lean_ctor_get(x_12, 0);
|
||||
lean_inc(x_34);
|
||||
lean_dec(x_12);
|
||||
switch (lean_obj_tag(x_34)) {
|
||||
case 1:
|
||||
{
|
||||
lean_object* x_35;
|
||||
x_35 = lean_ctor_get(x_12, 0);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_12);
|
||||
switch (lean_obj_tag(x_35)) {
|
||||
case 1:
|
||||
{
|
||||
lean_object* x_36;
|
||||
lean_free_object(x_7);
|
||||
lean_inc(x_34);
|
||||
x_35 = l_Lean_Meta_canUnfold(x_34, x_2, x_3, x_4, x_5, x_10);
|
||||
if (lean_obj_tag(x_35) == 0)
|
||||
lean_inc(x_35);
|
||||
x_36 = l_Lean_Meta_canUnfold(x_35, x_2, x_3, x_4, x_5, x_10);
|
||||
if (lean_obj_tag(x_36) == 0)
|
||||
{
|
||||
lean_object* x_36; uint8_t x_37;
|
||||
x_36 = lean_ctor_get(x_35, 0);
|
||||
lean_inc(x_36);
|
||||
x_37 = lean_unbox(x_36);
|
||||
lean_dec(x_36);
|
||||
if (x_37 == 0)
|
||||
lean_object* x_37; uint8_t x_38;
|
||||
x_37 = lean_ctor_get(x_36, 0);
|
||||
lean_inc(x_37);
|
||||
x_38 = lean_unbox(x_37);
|
||||
lean_dec(x_37);
|
||||
if (x_38 == 0)
|
||||
{
|
||||
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41;
|
||||
lean_dec(x_34);
|
||||
x_38 = lean_ctor_get(x_35, 1);
|
||||
lean_inc(x_38);
|
||||
if (lean_is_exclusive(x_35)) {
|
||||
lean_ctor_release(x_35, 0);
|
||||
lean_ctor_release(x_35, 1);
|
||||
x_39 = x_35;
|
||||
lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42;
|
||||
lean_dec(x_35);
|
||||
x_39 = lean_ctor_get(x_36, 1);
|
||||
lean_inc(x_39);
|
||||
if (lean_is_exclusive(x_36)) {
|
||||
lean_ctor_release(x_36, 0);
|
||||
lean_ctor_release(x_36, 1);
|
||||
x_40 = x_36;
|
||||
} else {
|
||||
lean_dec_ref(x_35);
|
||||
x_39 = lean_box(0);
|
||||
lean_dec_ref(x_36);
|
||||
x_40 = lean_box(0);
|
||||
}
|
||||
x_40 = lean_box(0);
|
||||
if (lean_is_scalar(x_39)) {
|
||||
x_41 = lean_alloc_ctor(0, 2, 0);
|
||||
x_41 = lean_box(0);
|
||||
if (lean_is_scalar(x_40)) {
|
||||
x_42 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_41 = x_39;
|
||||
x_42 = x_40;
|
||||
}
|
||||
lean_ctor_set(x_41, 0, x_40);
|
||||
lean_ctor_set(x_41, 1, x_38);
|
||||
return x_41;
|
||||
lean_ctor_set(x_42, 0, x_41);
|
||||
lean_ctor_set(x_42, 1, x_39);
|
||||
return x_42;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45;
|
||||
x_42 = lean_ctor_get(x_35, 1);
|
||||
lean_inc(x_42);
|
||||
if (lean_is_exclusive(x_35)) {
|
||||
lean_ctor_release(x_35, 0);
|
||||
lean_ctor_release(x_35, 1);
|
||||
x_43 = x_35;
|
||||
lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46;
|
||||
x_43 = lean_ctor_get(x_36, 1);
|
||||
lean_inc(x_43);
|
||||
if (lean_is_exclusive(x_36)) {
|
||||
lean_ctor_release(x_36, 0);
|
||||
lean_ctor_release(x_36, 1);
|
||||
x_44 = x_36;
|
||||
} else {
|
||||
lean_dec_ref(x_35);
|
||||
x_43 = lean_box(0);
|
||||
lean_dec_ref(x_36);
|
||||
x_44 = lean_box(0);
|
||||
}
|
||||
x_44 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_44, 0, x_34);
|
||||
if (lean_is_scalar(x_43)) {
|
||||
x_45 = lean_alloc_ctor(0, 2, 0);
|
||||
x_45 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_45, 0, x_35);
|
||||
if (lean_is_scalar(x_44)) {
|
||||
x_46 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_45 = x_43;
|
||||
x_46 = x_44;
|
||||
}
|
||||
lean_ctor_set(x_45, 0, x_44);
|
||||
lean_ctor_set(x_45, 1, x_42);
|
||||
return x_45;
|
||||
lean_ctor_set(x_46, 0, x_45);
|
||||
lean_ctor_set(x_46, 1, x_43);
|
||||
return x_46;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49;
|
||||
lean_dec(x_34);
|
||||
x_46 = lean_ctor_get(x_35, 0);
|
||||
lean_inc(x_46);
|
||||
x_47 = lean_ctor_get(x_35, 1);
|
||||
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50;
|
||||
lean_dec(x_35);
|
||||
x_47 = lean_ctor_get(x_36, 0);
|
||||
lean_inc(x_47);
|
||||
if (lean_is_exclusive(x_35)) {
|
||||
lean_ctor_release(x_35, 0);
|
||||
lean_ctor_release(x_35, 1);
|
||||
x_48 = x_35;
|
||||
x_48 = lean_ctor_get(x_36, 1);
|
||||
lean_inc(x_48);
|
||||
if (lean_is_exclusive(x_36)) {
|
||||
lean_ctor_release(x_36, 0);
|
||||
lean_ctor_release(x_36, 1);
|
||||
x_49 = x_36;
|
||||
} else {
|
||||
lean_dec_ref(x_35);
|
||||
x_48 = lean_box(0);
|
||||
lean_dec_ref(x_36);
|
||||
x_49 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_48)) {
|
||||
x_49 = lean_alloc_ctor(1, 2, 0);
|
||||
if (lean_is_scalar(x_49)) {
|
||||
x_50 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_49 = x_48;
|
||||
x_50 = x_49;
|
||||
}
|
||||
lean_ctor_set(x_49, 0, x_46);
|
||||
lean_ctor_set(x_49, 1, x_47);
|
||||
return x_49;
|
||||
lean_ctor_set(x_50, 0, x_47);
|
||||
lean_ctor_set(x_50, 1, x_48);
|
||||
return x_50;
|
||||
}
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
lean_object* x_50;
|
||||
lean_object* x_51;
|
||||
lean_free_object(x_7);
|
||||
x_50 = l_Lean_Meta_getTheoremInfo(x_34, x_2, x_3, x_4, x_5, x_10);
|
||||
x_51 = l_Lean_Meta_getTheoremInfo(x_35, x_2, x_3, x_4, x_5, x_10);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
return x_50;
|
||||
return x_51;
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_51;
|
||||
lean_object* x_52;
|
||||
lean_dec(x_35);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
x_51 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_51, 0, x_34);
|
||||
lean_ctor_set(x_7, 0, x_51);
|
||||
x_52 = lean_box(0);
|
||||
lean_ctor_set(x_7, 0, x_52);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
|
|
@ -793,158 +797,155 @@ return x_7;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55;
|
||||
x_52 = lean_ctor_get(x_7, 0);
|
||||
x_53 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_53);
|
||||
lean_inc(x_52);
|
||||
lean_dec(x_7);
|
||||
x_54 = lean_ctor_get(x_52, 0);
|
||||
lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56;
|
||||
x_53 = lean_ctor_get(x_7, 0);
|
||||
x_54 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_54);
|
||||
lean_dec(x_52);
|
||||
x_55 = l_Lean_Environment_find_x3f(x_54, x_1);
|
||||
if (lean_obj_tag(x_55) == 0)
|
||||
lean_inc(x_53);
|
||||
lean_dec(x_7);
|
||||
x_55 = lean_ctor_get(x_53, 0);
|
||||
lean_inc(x_55);
|
||||
lean_dec(x_53);
|
||||
x_56 = l_Lean_Environment_find_x3f(x_55, x_1);
|
||||
if (lean_obj_tag(x_56) == 0)
|
||||
{
|
||||
lean_object* x_56;
|
||||
x_56 = l_Lean_throwUnknownConstant___at___private_Lean_Meta_Basic_0__Lean_Meta_getConstTemp_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_53);
|
||||
lean_object* x_57;
|
||||
x_57 = l_Lean_throwUnknownConstant___at___private_Lean_Meta_Basic_0__Lean_Meta_getConstTemp_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_54);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
return x_56;
|
||||
return x_57;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_57; lean_object* x_58;
|
||||
lean_object* x_58; lean_object* x_59;
|
||||
lean_dec(x_1);
|
||||
x_57 = lean_ctor_get(x_55, 0);
|
||||
lean_inc(x_57);
|
||||
if (lean_is_exclusive(x_55)) {
|
||||
lean_ctor_release(x_55, 0);
|
||||
x_58 = x_55;
|
||||
x_58 = lean_ctor_get(x_56, 0);
|
||||
lean_inc(x_58);
|
||||
if (lean_is_exclusive(x_56)) {
|
||||
lean_ctor_release(x_56, 0);
|
||||
x_59 = x_56;
|
||||
} else {
|
||||
lean_dec_ref(x_55);
|
||||
x_58 = lean_box(0);
|
||||
lean_dec_ref(x_56);
|
||||
x_59 = lean_box(0);
|
||||
}
|
||||
switch (lean_obj_tag(x_57)) {
|
||||
switch (lean_obj_tag(x_58)) {
|
||||
case 1:
|
||||
{
|
||||
lean_object* x_59;
|
||||
lean_inc(x_57);
|
||||
x_59 = l_Lean_Meta_canUnfold(x_57, x_2, x_3, x_4, x_5, x_53);
|
||||
if (lean_obj_tag(x_59) == 0)
|
||||
lean_object* x_60;
|
||||
lean_inc(x_58);
|
||||
x_60 = l_Lean_Meta_canUnfold(x_58, x_2, x_3, x_4, x_5, x_54);
|
||||
if (lean_obj_tag(x_60) == 0)
|
||||
{
|
||||
lean_object* x_60; uint8_t x_61;
|
||||
x_60 = lean_ctor_get(x_59, 0);
|
||||
lean_inc(x_60);
|
||||
x_61 = lean_unbox(x_60);
|
||||
lean_dec(x_60);
|
||||
if (x_61 == 0)
|
||||
lean_object* x_61; uint8_t x_62;
|
||||
x_61 = lean_ctor_get(x_60, 0);
|
||||
lean_inc(x_61);
|
||||
x_62 = lean_unbox(x_61);
|
||||
lean_dec(x_61);
|
||||
if (x_62 == 0)
|
||||
{
|
||||
lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65;
|
||||
lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66;
|
||||
lean_dec(x_59);
|
||||
lean_dec(x_58);
|
||||
lean_dec(x_57);
|
||||
x_62 = lean_ctor_get(x_59, 1);
|
||||
lean_inc(x_62);
|
||||
if (lean_is_exclusive(x_59)) {
|
||||
lean_ctor_release(x_59, 0);
|
||||
lean_ctor_release(x_59, 1);
|
||||
x_63 = x_59;
|
||||
x_63 = lean_ctor_get(x_60, 1);
|
||||
lean_inc(x_63);
|
||||
if (lean_is_exclusive(x_60)) {
|
||||
lean_ctor_release(x_60, 0);
|
||||
lean_ctor_release(x_60, 1);
|
||||
x_64 = x_60;
|
||||
} else {
|
||||
lean_dec_ref(x_59);
|
||||
x_63 = lean_box(0);
|
||||
lean_dec_ref(x_60);
|
||||
x_64 = lean_box(0);
|
||||
}
|
||||
x_64 = lean_box(0);
|
||||
if (lean_is_scalar(x_63)) {
|
||||
x_65 = lean_alloc_ctor(0, 2, 0);
|
||||
x_65 = lean_box(0);
|
||||
if (lean_is_scalar(x_64)) {
|
||||
x_66 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_65 = x_63;
|
||||
x_66 = x_64;
|
||||
}
|
||||
lean_ctor_set(x_65, 0, x_64);
|
||||
lean_ctor_set(x_65, 1, x_62);
|
||||
return x_65;
|
||||
lean_ctor_set(x_66, 0, x_65);
|
||||
lean_ctor_set(x_66, 1, x_63);
|
||||
return x_66;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69;
|
||||
x_66 = lean_ctor_get(x_59, 1);
|
||||
lean_inc(x_66);
|
||||
if (lean_is_exclusive(x_59)) {
|
||||
lean_ctor_release(x_59, 0);
|
||||
lean_ctor_release(x_59, 1);
|
||||
x_67 = x_59;
|
||||
lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70;
|
||||
x_67 = lean_ctor_get(x_60, 1);
|
||||
lean_inc(x_67);
|
||||
if (lean_is_exclusive(x_60)) {
|
||||
lean_ctor_release(x_60, 0);
|
||||
lean_ctor_release(x_60, 1);
|
||||
x_68 = x_60;
|
||||
} else {
|
||||
lean_dec_ref(x_59);
|
||||
x_67 = lean_box(0);
|
||||
lean_dec_ref(x_60);
|
||||
x_68 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_58)) {
|
||||
x_68 = lean_alloc_ctor(1, 1, 0);
|
||||
if (lean_is_scalar(x_59)) {
|
||||
x_69 = lean_alloc_ctor(1, 1, 0);
|
||||
} else {
|
||||
x_68 = x_58;
|
||||
x_69 = x_59;
|
||||
}
|
||||
lean_ctor_set(x_68, 0, x_57);
|
||||
if (lean_is_scalar(x_67)) {
|
||||
x_69 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_69, 0, x_58);
|
||||
if (lean_is_scalar(x_68)) {
|
||||
x_70 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_69 = x_67;
|
||||
x_70 = x_68;
|
||||
}
|
||||
lean_ctor_set(x_69, 0, x_68);
|
||||
lean_ctor_set(x_69, 1, x_66);
|
||||
return x_69;
|
||||
lean_ctor_set(x_70, 0, x_69);
|
||||
lean_ctor_set(x_70, 1, x_67);
|
||||
return x_70;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73;
|
||||
lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74;
|
||||
lean_dec(x_59);
|
||||
lean_dec(x_58);
|
||||
lean_dec(x_57);
|
||||
x_70 = lean_ctor_get(x_59, 0);
|
||||
lean_inc(x_70);
|
||||
x_71 = lean_ctor_get(x_59, 1);
|
||||
x_71 = lean_ctor_get(x_60, 0);
|
||||
lean_inc(x_71);
|
||||
if (lean_is_exclusive(x_59)) {
|
||||
lean_ctor_release(x_59, 0);
|
||||
lean_ctor_release(x_59, 1);
|
||||
x_72 = x_59;
|
||||
x_72 = lean_ctor_get(x_60, 1);
|
||||
lean_inc(x_72);
|
||||
if (lean_is_exclusive(x_60)) {
|
||||
lean_ctor_release(x_60, 0);
|
||||
lean_ctor_release(x_60, 1);
|
||||
x_73 = x_60;
|
||||
} else {
|
||||
lean_dec_ref(x_59);
|
||||
x_72 = lean_box(0);
|
||||
lean_dec_ref(x_60);
|
||||
x_73 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_72)) {
|
||||
x_73 = lean_alloc_ctor(1, 2, 0);
|
||||
if (lean_is_scalar(x_73)) {
|
||||
x_74 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_73 = x_72;
|
||||
x_74 = x_73;
|
||||
}
|
||||
lean_ctor_set(x_73, 0, x_70);
|
||||
lean_ctor_set(x_73, 1, x_71);
|
||||
return x_73;
|
||||
lean_ctor_set(x_74, 0, x_71);
|
||||
lean_ctor_set(x_74, 1, x_72);
|
||||
return x_74;
|
||||
}
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
lean_object* x_74;
|
||||
lean_dec(x_58);
|
||||
x_74 = l_Lean_Meta_getTheoremInfo(x_57, x_2, x_3, x_4, x_5, x_53);
|
||||
lean_object* x_75;
|
||||
lean_dec(x_59);
|
||||
x_75 = l_Lean_Meta_getTheoremInfo(x_58, x_2, x_3, x_4, x_5, x_54);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
return x_74;
|
||||
return x_75;
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_75; lean_object* x_76;
|
||||
lean_object* x_76; lean_object* x_77;
|
||||
lean_dec(x_59);
|
||||
lean_dec(x_58);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
if (lean_is_scalar(x_58)) {
|
||||
x_75 = lean_alloc_ctor(1, 1, 0);
|
||||
} else {
|
||||
x_75 = x_58;
|
||||
}
|
||||
lean_ctor_set(x_75, 0, x_57);
|
||||
x_76 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_76, 0, x_75);
|
||||
lean_ctor_set(x_76, 1, x_53);
|
||||
return x_76;
|
||||
x_76 = lean_box(0);
|
||||
x_77 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_77, 0, x_76);
|
||||
lean_ctor_set(x_77, 1, x_54);
|
||||
return x_77;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1098,128 +1099,132 @@ return x_33;
|
|||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_34;
|
||||
lean_free_object(x_12);
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
lean_ctor_set(x_7, 0, x_12);
|
||||
x_34 = lean_box(0);
|
||||
lean_ctor_set(x_7, 0, x_34);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_34;
|
||||
x_34 = lean_ctor_get(x_12, 0);
|
||||
lean_inc(x_34);
|
||||
lean_dec(x_12);
|
||||
switch (lean_obj_tag(x_34)) {
|
||||
case 1:
|
||||
{
|
||||
lean_object* x_35;
|
||||
x_35 = lean_ctor_get(x_12, 0);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_12);
|
||||
switch (lean_obj_tag(x_35)) {
|
||||
case 1:
|
||||
{
|
||||
lean_object* x_36;
|
||||
lean_free_object(x_7);
|
||||
lean_inc(x_34);
|
||||
x_35 = l_Lean_Meta_canUnfold(x_34, x_2, x_3, x_4, x_5, x_10);
|
||||
if (lean_obj_tag(x_35) == 0)
|
||||
lean_inc(x_35);
|
||||
x_36 = l_Lean_Meta_canUnfold(x_35, x_2, x_3, x_4, x_5, x_10);
|
||||
if (lean_obj_tag(x_36) == 0)
|
||||
{
|
||||
lean_object* x_36; uint8_t x_37;
|
||||
x_36 = lean_ctor_get(x_35, 0);
|
||||
lean_inc(x_36);
|
||||
x_37 = lean_unbox(x_36);
|
||||
lean_dec(x_36);
|
||||
if (x_37 == 0)
|
||||
lean_object* x_37; uint8_t x_38;
|
||||
x_37 = lean_ctor_get(x_36, 0);
|
||||
lean_inc(x_37);
|
||||
x_38 = lean_unbox(x_37);
|
||||
lean_dec(x_37);
|
||||
if (x_38 == 0)
|
||||
{
|
||||
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41;
|
||||
lean_dec(x_34);
|
||||
x_38 = lean_ctor_get(x_35, 1);
|
||||
lean_inc(x_38);
|
||||
if (lean_is_exclusive(x_35)) {
|
||||
lean_ctor_release(x_35, 0);
|
||||
lean_ctor_release(x_35, 1);
|
||||
x_39 = x_35;
|
||||
lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42;
|
||||
lean_dec(x_35);
|
||||
x_39 = lean_ctor_get(x_36, 1);
|
||||
lean_inc(x_39);
|
||||
if (lean_is_exclusive(x_36)) {
|
||||
lean_ctor_release(x_36, 0);
|
||||
lean_ctor_release(x_36, 1);
|
||||
x_40 = x_36;
|
||||
} else {
|
||||
lean_dec_ref(x_35);
|
||||
x_39 = lean_box(0);
|
||||
lean_dec_ref(x_36);
|
||||
x_40 = lean_box(0);
|
||||
}
|
||||
x_40 = lean_box(0);
|
||||
if (lean_is_scalar(x_39)) {
|
||||
x_41 = lean_alloc_ctor(0, 2, 0);
|
||||
x_41 = lean_box(0);
|
||||
if (lean_is_scalar(x_40)) {
|
||||
x_42 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_41 = x_39;
|
||||
x_42 = x_40;
|
||||
}
|
||||
lean_ctor_set(x_41, 0, x_40);
|
||||
lean_ctor_set(x_41, 1, x_38);
|
||||
return x_41;
|
||||
lean_ctor_set(x_42, 0, x_41);
|
||||
lean_ctor_set(x_42, 1, x_39);
|
||||
return x_42;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45;
|
||||
x_42 = lean_ctor_get(x_35, 1);
|
||||
lean_inc(x_42);
|
||||
if (lean_is_exclusive(x_35)) {
|
||||
lean_ctor_release(x_35, 0);
|
||||
lean_ctor_release(x_35, 1);
|
||||
x_43 = x_35;
|
||||
lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46;
|
||||
x_43 = lean_ctor_get(x_36, 1);
|
||||
lean_inc(x_43);
|
||||
if (lean_is_exclusive(x_36)) {
|
||||
lean_ctor_release(x_36, 0);
|
||||
lean_ctor_release(x_36, 1);
|
||||
x_44 = x_36;
|
||||
} else {
|
||||
lean_dec_ref(x_35);
|
||||
x_43 = lean_box(0);
|
||||
lean_dec_ref(x_36);
|
||||
x_44 = lean_box(0);
|
||||
}
|
||||
x_44 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_44, 0, x_34);
|
||||
if (lean_is_scalar(x_43)) {
|
||||
x_45 = lean_alloc_ctor(0, 2, 0);
|
||||
x_45 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_45, 0, x_35);
|
||||
if (lean_is_scalar(x_44)) {
|
||||
x_46 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_45 = x_43;
|
||||
x_46 = x_44;
|
||||
}
|
||||
lean_ctor_set(x_45, 0, x_44);
|
||||
lean_ctor_set(x_45, 1, x_42);
|
||||
return x_45;
|
||||
lean_ctor_set(x_46, 0, x_45);
|
||||
lean_ctor_set(x_46, 1, x_43);
|
||||
return x_46;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49;
|
||||
lean_dec(x_34);
|
||||
x_46 = lean_ctor_get(x_35, 0);
|
||||
lean_inc(x_46);
|
||||
x_47 = lean_ctor_get(x_35, 1);
|
||||
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50;
|
||||
lean_dec(x_35);
|
||||
x_47 = lean_ctor_get(x_36, 0);
|
||||
lean_inc(x_47);
|
||||
if (lean_is_exclusive(x_35)) {
|
||||
lean_ctor_release(x_35, 0);
|
||||
lean_ctor_release(x_35, 1);
|
||||
x_48 = x_35;
|
||||
x_48 = lean_ctor_get(x_36, 1);
|
||||
lean_inc(x_48);
|
||||
if (lean_is_exclusive(x_36)) {
|
||||
lean_ctor_release(x_36, 0);
|
||||
lean_ctor_release(x_36, 1);
|
||||
x_49 = x_36;
|
||||
} else {
|
||||
lean_dec_ref(x_35);
|
||||
x_48 = lean_box(0);
|
||||
lean_dec_ref(x_36);
|
||||
x_49 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_48)) {
|
||||
x_49 = lean_alloc_ctor(1, 2, 0);
|
||||
if (lean_is_scalar(x_49)) {
|
||||
x_50 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_49 = x_48;
|
||||
x_50 = x_49;
|
||||
}
|
||||
lean_ctor_set(x_49, 0, x_46);
|
||||
lean_ctor_set(x_49, 1, x_47);
|
||||
return x_49;
|
||||
lean_ctor_set(x_50, 0, x_47);
|
||||
lean_ctor_set(x_50, 1, x_48);
|
||||
return x_50;
|
||||
}
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
lean_object* x_50;
|
||||
lean_object* x_51;
|
||||
lean_free_object(x_7);
|
||||
x_50 = l_Lean_Meta_getTheoremInfo(x_34, x_2, x_3, x_4, x_5, x_10);
|
||||
x_51 = l_Lean_Meta_getTheoremInfo(x_35, x_2, x_3, x_4, x_5, x_10);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
return x_50;
|
||||
return x_51;
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_51;
|
||||
lean_object* x_52;
|
||||
lean_dec(x_35);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
x_51 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_51, 0, x_34);
|
||||
lean_ctor_set(x_7, 0, x_51);
|
||||
x_52 = lean_box(0);
|
||||
lean_ctor_set(x_7, 0, x_52);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
|
|
@ -1228,160 +1233,157 @@ return x_7;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55;
|
||||
x_52 = lean_ctor_get(x_7, 0);
|
||||
x_53 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_53);
|
||||
lean_inc(x_52);
|
||||
lean_dec(x_7);
|
||||
x_54 = lean_ctor_get(x_52, 0);
|
||||
lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56;
|
||||
x_53 = lean_ctor_get(x_7, 0);
|
||||
x_54 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_54);
|
||||
lean_dec(x_52);
|
||||
x_55 = l_Lean_Environment_find_x3f(x_54, x_1);
|
||||
if (lean_obj_tag(x_55) == 0)
|
||||
lean_inc(x_53);
|
||||
lean_dec(x_7);
|
||||
x_55 = lean_ctor_get(x_53, 0);
|
||||
lean_inc(x_55);
|
||||
lean_dec(x_53);
|
||||
x_56 = l_Lean_Environment_find_x3f(x_55, x_1);
|
||||
if (lean_obj_tag(x_56) == 0)
|
||||
{
|
||||
lean_object* x_56; lean_object* x_57;
|
||||
lean_object* x_57; lean_object* x_58;
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
x_56 = lean_box(0);
|
||||
x_57 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_57, 0, x_56);
|
||||
lean_ctor_set(x_57, 1, x_53);
|
||||
return x_57;
|
||||
x_57 = lean_box(0);
|
||||
x_58 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_58, 0, x_57);
|
||||
lean_ctor_set(x_58, 1, x_54);
|
||||
return x_58;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_58; lean_object* x_59;
|
||||
x_58 = lean_ctor_get(x_55, 0);
|
||||
lean_inc(x_58);
|
||||
if (lean_is_exclusive(x_55)) {
|
||||
lean_ctor_release(x_55, 0);
|
||||
x_59 = x_55;
|
||||
lean_object* x_59; lean_object* x_60;
|
||||
x_59 = lean_ctor_get(x_56, 0);
|
||||
lean_inc(x_59);
|
||||
if (lean_is_exclusive(x_56)) {
|
||||
lean_ctor_release(x_56, 0);
|
||||
x_60 = x_56;
|
||||
} else {
|
||||
lean_dec_ref(x_55);
|
||||
x_59 = lean_box(0);
|
||||
lean_dec_ref(x_56);
|
||||
x_60 = lean_box(0);
|
||||
}
|
||||
switch (lean_obj_tag(x_58)) {
|
||||
switch (lean_obj_tag(x_59)) {
|
||||
case 1:
|
||||
{
|
||||
lean_object* x_60;
|
||||
lean_inc(x_58);
|
||||
x_60 = l_Lean_Meta_canUnfold(x_58, x_2, x_3, x_4, x_5, x_53);
|
||||
if (lean_obj_tag(x_60) == 0)
|
||||
lean_object* x_61;
|
||||
lean_inc(x_59);
|
||||
x_61 = l_Lean_Meta_canUnfold(x_59, x_2, x_3, x_4, x_5, x_54);
|
||||
if (lean_obj_tag(x_61) == 0)
|
||||
{
|
||||
lean_object* x_61; uint8_t x_62;
|
||||
x_61 = lean_ctor_get(x_60, 0);
|
||||
lean_inc(x_61);
|
||||
x_62 = lean_unbox(x_61);
|
||||
lean_dec(x_61);
|
||||
if (x_62 == 0)
|
||||
lean_object* x_62; uint8_t x_63;
|
||||
x_62 = lean_ctor_get(x_61, 0);
|
||||
lean_inc(x_62);
|
||||
x_63 = lean_unbox(x_62);
|
||||
lean_dec(x_62);
|
||||
if (x_63 == 0)
|
||||
{
|
||||
lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66;
|
||||
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67;
|
||||
lean_dec(x_60);
|
||||
lean_dec(x_59);
|
||||
lean_dec(x_58);
|
||||
x_63 = lean_ctor_get(x_60, 1);
|
||||
lean_inc(x_63);
|
||||
if (lean_is_exclusive(x_60)) {
|
||||
lean_ctor_release(x_60, 0);
|
||||
lean_ctor_release(x_60, 1);
|
||||
x_64 = x_60;
|
||||
x_64 = lean_ctor_get(x_61, 1);
|
||||
lean_inc(x_64);
|
||||
if (lean_is_exclusive(x_61)) {
|
||||
lean_ctor_release(x_61, 0);
|
||||
lean_ctor_release(x_61, 1);
|
||||
x_65 = x_61;
|
||||
} else {
|
||||
lean_dec_ref(x_60);
|
||||
x_64 = lean_box(0);
|
||||
lean_dec_ref(x_61);
|
||||
x_65 = lean_box(0);
|
||||
}
|
||||
x_65 = lean_box(0);
|
||||
if (lean_is_scalar(x_64)) {
|
||||
x_66 = lean_alloc_ctor(0, 2, 0);
|
||||
x_66 = lean_box(0);
|
||||
if (lean_is_scalar(x_65)) {
|
||||
x_67 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_66 = x_64;
|
||||
x_67 = x_65;
|
||||
}
|
||||
lean_ctor_set(x_66, 0, x_65);
|
||||
lean_ctor_set(x_66, 1, x_63);
|
||||
return x_66;
|
||||
lean_ctor_set(x_67, 0, x_66);
|
||||
lean_ctor_set(x_67, 1, x_64);
|
||||
return x_67;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70;
|
||||
x_67 = lean_ctor_get(x_60, 1);
|
||||
lean_inc(x_67);
|
||||
if (lean_is_exclusive(x_60)) {
|
||||
lean_ctor_release(x_60, 0);
|
||||
lean_ctor_release(x_60, 1);
|
||||
x_68 = x_60;
|
||||
lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71;
|
||||
x_68 = lean_ctor_get(x_61, 1);
|
||||
lean_inc(x_68);
|
||||
if (lean_is_exclusive(x_61)) {
|
||||
lean_ctor_release(x_61, 0);
|
||||
lean_ctor_release(x_61, 1);
|
||||
x_69 = x_61;
|
||||
} else {
|
||||
lean_dec_ref(x_60);
|
||||
x_68 = lean_box(0);
|
||||
lean_dec_ref(x_61);
|
||||
x_69 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_59)) {
|
||||
x_69 = lean_alloc_ctor(1, 1, 0);
|
||||
if (lean_is_scalar(x_60)) {
|
||||
x_70 = lean_alloc_ctor(1, 1, 0);
|
||||
} else {
|
||||
x_69 = x_59;
|
||||
x_70 = x_60;
|
||||
}
|
||||
lean_ctor_set(x_69, 0, x_58);
|
||||
if (lean_is_scalar(x_68)) {
|
||||
x_70 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_70, 0, x_59);
|
||||
if (lean_is_scalar(x_69)) {
|
||||
x_71 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_70 = x_68;
|
||||
x_71 = x_69;
|
||||
}
|
||||
lean_ctor_set(x_70, 0, x_69);
|
||||
lean_ctor_set(x_70, 1, x_67);
|
||||
return x_70;
|
||||
lean_ctor_set(x_71, 0, x_70);
|
||||
lean_ctor_set(x_71, 1, x_68);
|
||||
return x_71;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74;
|
||||
lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75;
|
||||
lean_dec(x_60);
|
||||
lean_dec(x_59);
|
||||
lean_dec(x_58);
|
||||
x_71 = lean_ctor_get(x_60, 0);
|
||||
lean_inc(x_71);
|
||||
x_72 = lean_ctor_get(x_60, 1);
|
||||
x_72 = lean_ctor_get(x_61, 0);
|
||||
lean_inc(x_72);
|
||||
if (lean_is_exclusive(x_60)) {
|
||||
lean_ctor_release(x_60, 0);
|
||||
lean_ctor_release(x_60, 1);
|
||||
x_73 = x_60;
|
||||
x_73 = lean_ctor_get(x_61, 1);
|
||||
lean_inc(x_73);
|
||||
if (lean_is_exclusive(x_61)) {
|
||||
lean_ctor_release(x_61, 0);
|
||||
lean_ctor_release(x_61, 1);
|
||||
x_74 = x_61;
|
||||
} else {
|
||||
lean_dec_ref(x_60);
|
||||
x_73 = lean_box(0);
|
||||
lean_dec_ref(x_61);
|
||||
x_74 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_73)) {
|
||||
x_74 = lean_alloc_ctor(1, 2, 0);
|
||||
if (lean_is_scalar(x_74)) {
|
||||
x_75 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_74 = x_73;
|
||||
x_75 = x_74;
|
||||
}
|
||||
lean_ctor_set(x_74, 0, x_71);
|
||||
lean_ctor_set(x_74, 1, x_72);
|
||||
return x_74;
|
||||
lean_ctor_set(x_75, 0, x_72);
|
||||
lean_ctor_set(x_75, 1, x_73);
|
||||
return x_75;
|
||||
}
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
lean_object* x_75;
|
||||
lean_dec(x_59);
|
||||
x_75 = l_Lean_Meta_getTheoremInfo(x_58, x_2, x_3, x_4, x_5, x_53);
|
||||
lean_object* x_76;
|
||||
lean_dec(x_60);
|
||||
x_76 = l_Lean_Meta_getTheoremInfo(x_59, x_2, x_3, x_4, x_5, x_54);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
return x_75;
|
||||
return x_76;
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_76; lean_object* x_77;
|
||||
lean_object* x_77; lean_object* x_78;
|
||||
lean_dec(x_60);
|
||||
lean_dec(x_59);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
if (lean_is_scalar(x_59)) {
|
||||
x_76 = lean_alloc_ctor(1, 1, 0);
|
||||
} else {
|
||||
x_76 = x_59;
|
||||
}
|
||||
lean_ctor_set(x_76, 0, x_58);
|
||||
x_77 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_77, 0, x_76);
|
||||
lean_ctor_set(x_77, 1, x_53);
|
||||
return x_77;
|
||||
x_77 = lean_box(0);
|
||||
x_78 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_78, 0, x_77);
|
||||
lean_ctor_set(x_78, 1, x_54);
|
||||
return x_78;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
496
stage0/stdlib/Lean/Meta/Tactic/Grind/SimpUtil.c
generated
496
stage0/stdlib/Lean/Meta/Tactic/Grind/SimpUtil.c
generated
|
|
@ -13,19 +13,33 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
lean_object* l_Lean_Meta_mkSimpExt(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_PersistentHashMap_Node_isEmpty___rarg(lean_object*);
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_normalizeImp___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_registerNormTheorems(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_normalizeImp___closed__6;
|
||||
static lean_object* l_Lean_Meta_Grind_normalizeImp___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_getSimprocs___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_isEmpty___at_Lean_Meta_Grind_registerNormTheorems___spec__3(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_registerNormTheorems___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_getSimpContext___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_isEmpty___at_Lean_Meta_Grind_registerNormTheorems___spec__3___boxed(lean_object*);
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getSimpCongrTheorems___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_getSimpContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__2;
|
||||
static lean_object* l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__1;
|
||||
static lean_object* l_Lean_Meta_Grind_normalizeImp___closed__5;
|
||||
static lean_object* l_Lean_Meta_Grind_getSimprocs___rarg___closed__4;
|
||||
lean_object* l_Lean_Meta_Grind_addDoNotSimp(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_normExt;
|
||||
static lean_object* l_Lean_Meta_Grind_normalizeImp___closed__4;
|
||||
lean_object* l_Lean_Meta_Simp_SimprocExtension_getSimprocs(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_registerNormTheorems___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__3;
|
||||
lean_object* l_Lean_Meta_simp(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_Grind_normalizeImp___closed__3;
|
||||
lean_object* l_Lean_Meta_Simp_getSEvalSimprocs___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -34,21 +48,482 @@ lean_object* l_Lean_Meta_Simp_mkContext(lean_object*, lean_object*, lean_object*
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_getSimprocs(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_getSimprocs___rarg___closed__2;
|
||||
extern lean_object* l_Lean_Meta_Grind_grindNormSimprocExt;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_getSimprocs___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SimpExtension_getTheorems(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Simp_Simprocs_erase(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_addSimpTheorem(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_getSimprocs___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_registerNormTheorems___closed__2;
|
||||
static lean_object* l_Lean_Meta_Grind_getSimprocs___rarg___closed__3;
|
||||
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3_(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_getSimpContext___closed__2;
|
||||
extern lean_object* l_Lean_Meta_Grind_grindNormExt;
|
||||
LEAN_EXPORT lean_object* lean_grind_normalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__1___closed__1;
|
||||
static lean_object* l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__5;
|
||||
static lean_object* l_Lean_Meta_Grind_getSimprocs___rarg___closed__1;
|
||||
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
extern lean_object* l_Lean_Meta_Simp_defaultMaxSteps;
|
||||
static lean_object* l_Lean_Meta_Grind_normalizeImp___closed__1;
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
size_t lean_array_size(lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_normalizeImp___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_registerNormTheorems___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_registerNormTheorems___closed__1;
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
static lean_object* _init_l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Meta", 4, 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Grind", 5, 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("normExt", 7, 7);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____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_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__1;
|
||||
x_2 = l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__2;
|
||||
x_3 = l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__3;
|
||||
x_4 = l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__4;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__5;
|
||||
x_3 = l_Lean_Meta_mkSimpExt(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Meta_Grind_normExt;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_12;
|
||||
x_12 = lean_usize_dec_lt(x_5, x_4);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
lean_object* x_13;
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
x_13 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_6);
|
||||
lean_ctor_set(x_13, 1, x_11);
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19;
|
||||
lean_dec(x_6);
|
||||
x_14 = lean_array_uget(x_3, x_5);
|
||||
x_15 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__1___closed__1;
|
||||
x_16 = 0;
|
||||
x_17 = 0;
|
||||
x_18 = lean_unsigned_to_nat(1000u);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_7);
|
||||
x_19 = l_Lean_Meta_addSimpTheorem(x_15, x_14, x_16, x_16, x_17, x_18, x_7, x_8, x_9, x_10, x_11);
|
||||
if (lean_obj_tag(x_19) == 0)
|
||||
{
|
||||
lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23;
|
||||
x_20 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_19);
|
||||
x_21 = 1;
|
||||
x_22 = lean_usize_add(x_5, x_21);
|
||||
x_23 = lean_box(0);
|
||||
x_5 = x_22;
|
||||
x_6 = x_23;
|
||||
x_11 = x_20;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_25;
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
x_25 = !lean_is_exclusive(x_19);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28;
|
||||
x_26 = lean_ctor_get(x_19, 0);
|
||||
x_27 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_27);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_19);
|
||||
x_28 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_26);
|
||||
lean_ctor_set(x_28, 1, x_27);
|
||||
return x_28;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_12;
|
||||
x_12 = lean_usize_dec_lt(x_5, x_4);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
lean_object* x_13;
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
x_13 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_6);
|
||||
lean_ctor_set(x_13, 1, x_11);
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20;
|
||||
lean_dec(x_6);
|
||||
x_14 = lean_array_uget(x_3, x_5);
|
||||
x_15 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__1___closed__1;
|
||||
x_16 = 1;
|
||||
x_17 = 0;
|
||||
x_18 = 0;
|
||||
x_19 = lean_unsigned_to_nat(1000u);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_7);
|
||||
x_20 = l_Lean_Meta_addSimpTheorem(x_15, x_14, x_16, x_17, x_18, x_19, x_7, x_8, x_9, x_10, x_11);
|
||||
if (lean_obj_tag(x_20) == 0)
|
||||
{
|
||||
lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24;
|
||||
x_21 = lean_ctor_get(x_20, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_20);
|
||||
x_22 = 1;
|
||||
x_23 = lean_usize_add(x_5, x_22);
|
||||
x_24 = lean_box(0);
|
||||
x_5 = x_23;
|
||||
x_6 = x_24;
|
||||
x_11 = x_21;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_26;
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
x_26 = !lean_is_exclusive(x_20);
|
||||
if (x_26 == 0)
|
||||
{
|
||||
return x_20;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29;
|
||||
x_27 = lean_ctor_get(x_20, 0);
|
||||
x_28 = lean_ctor_get(x_20, 1);
|
||||
lean_inc(x_28);
|
||||
lean_inc(x_27);
|
||||
lean_dec(x_20);
|
||||
x_29 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_27);
|
||||
lean_ctor_set(x_29, 1, x_28);
|
||||
return x_29;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_isEmpty___at_Lean_Meta_Grind_registerNormTheorems___spec__3(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2;
|
||||
x_2 = l_Lean_PersistentHashMap_Node_isEmpty___rarg(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_registerNormTheorems___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_9 = lean_box(0);
|
||||
x_10 = lean_array_size(x_1);
|
||||
x_11 = 0;
|
||||
x_12 = lean_box(0);
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
x_13 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__1(x_1, x_9, x_1, x_10, x_11, x_12, x_4, x_5, x_6, x_7, x_8);
|
||||
if (lean_obj_tag(x_13) == 0)
|
||||
{
|
||||
lean_object* x_14; size_t x_15; lean_object* x_16;
|
||||
x_14 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_13);
|
||||
x_15 = lean_array_size(x_2);
|
||||
x_16 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__2(x_2, x_9, x_2, x_15, x_11, x_12, x_4, x_5, x_6, x_7, x_14);
|
||||
if (lean_obj_tag(x_16) == 0)
|
||||
{
|
||||
uint8_t x_17;
|
||||
x_17 = !lean_is_exclusive(x_16);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
lean_object* x_18;
|
||||
x_18 = lean_ctor_get(x_16, 0);
|
||||
lean_dec(x_18);
|
||||
lean_ctor_set(x_16, 0, x_12);
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20;
|
||||
x_19 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_16);
|
||||
x_20 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_12);
|
||||
lean_ctor_set(x_20, 1, x_19);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_21;
|
||||
x_21 = !lean_is_exclusive(x_16);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_22 = lean_ctor_get(x_16, 0);
|
||||
x_23 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_23);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_16);
|
||||
x_24 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_22);
|
||||
lean_ctor_set(x_24, 1, x_23);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_25;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
x_25 = !lean_is_exclusive(x_13);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28;
|
||||
x_26 = lean_ctor_get(x_13, 0);
|
||||
x_27 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_27);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_13);
|
||||
x_28 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_26);
|
||||
lean_ctor_set(x_28, 1, x_27);
|
||||
return x_28;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_registerNormTheorems___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("`grind` normalization theorems have already been initialized", 60, 60);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_registerNormTheorems___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Meta_Grind_registerNormTheorems___closed__1;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_registerNormTheorems(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
x_8 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__1___closed__1;
|
||||
x_9 = l_Lean_Meta_SimpExtension_getTheorems(x_8, x_5, x_6, x_7);
|
||||
x_10 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_10);
|
||||
x_11 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_9);
|
||||
x_12 = lean_ctor_get(x_10, 2);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_10);
|
||||
x_13 = l_Lean_PersistentHashMap_Node_isEmpty___rarg(x_12);
|
||||
lean_dec(x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; uint8_t x_16;
|
||||
x_14 = l_Lean_Meta_Grind_registerNormTheorems___closed__2;
|
||||
x_15 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_14, x_3, x_4, x_5, x_6, x_11);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_16 = !lean_is_exclusive(x_15);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
return x_15;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
x_17 = lean_ctor_get(x_15, 0);
|
||||
x_18 = lean_ctor_get(x_15, 1);
|
||||
lean_inc(x_18);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_15);
|
||||
x_19 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_17);
|
||||
lean_ctor_set(x_19, 1, x_18);
|
||||
return x_19;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21;
|
||||
x_20 = lean_box(0);
|
||||
x_21 = l_Lean_Meta_Grind_registerNormTheorems___lambda__1(x_1, x_2, x_20, x_3, x_4, x_5, x_6, x_11);
|
||||
return x_21;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
_start:
|
||||
{
|
||||
size_t x_12; size_t x_13; lean_object* x_14;
|
||||
x_12 = lean_unbox_usize(x_4);
|
||||
lean_dec(x_4);
|
||||
x_13 = lean_unbox_usize(x_5);
|
||||
lean_dec(x_5);
|
||||
x_14 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__1(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
_start:
|
||||
{
|
||||
size_t x_12; size_t x_13; lean_object* x_14;
|
||||
x_12 = lean_unbox_usize(x_4);
|
||||
lean_dec(x_4);
|
||||
x_13 = lean_unbox_usize(x_5);
|
||||
lean_dec(x_5);
|
||||
x_14 = l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__2(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_isEmpty___at_Lean_Meta_Grind_registerNormTheorems___spec__3___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_PersistentHashMap_isEmpty___at_Lean_Meta_Grind_registerNormTheorems___spec__3(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_box(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_registerNormTheorems___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_9;
|
||||
x_9 = l_Lean_Meta_Grind_registerNormTheorems___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_registerNormTheorems___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_8;
|
||||
x_8 = l_Lean_Meta_Grind_registerNormTheorems(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_getSimprocs___rarg___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -598,6 +1073,27 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Meta_Tactic_Simp_BuiltinSimprocs_List(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__1 = _init_l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__1);
|
||||
l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__2 = _init_l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__2);
|
||||
l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__3 = _init_l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__3);
|
||||
l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__4 = _init_l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__4);
|
||||
l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__5 = _init_l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3____closed__5);
|
||||
if (builtin) {res = l_Lean_Meta_Grind_initFn____x40_Lean_Meta_Tactic_Grind_SimpUtil___hyg_3_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Meta_Grind_normExt = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_normExt);
|
||||
lean_dec_ref(res);
|
||||
}l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__1___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__1___closed__1();
|
||||
lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_registerNormTheorems___spec__1___closed__1);
|
||||
l_Lean_Meta_Grind_registerNormTheorems___closed__1 = _init_l_Lean_Meta_Grind_registerNormTheorems___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_registerNormTheorems___closed__1);
|
||||
l_Lean_Meta_Grind_registerNormTheorems___closed__2 = _init_l_Lean_Meta_Grind_registerNormTheorems___closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_registerNormTheorems___closed__2);
|
||||
l_Lean_Meta_Grind_getSimprocs___rarg___closed__1 = _init_l_Lean_Meta_Grind_getSimprocs___rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_getSimprocs___rarg___closed__1);
|
||||
l_Lean_Meta_Grind_getSimprocs___rarg___closed__2 = _init_l_Lean_Meta_Grind_getSimprocs___rarg___closed__2();
|
||||
|
|
|
|||
6741
stage0/stdlib/Lean/Meta/WHNF.c
generated
6741
stage0/stdlib/Lean/Meta/WHNF.c
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue