chore: update stage0
This commit is contained in:
parent
f2bb86f45c
commit
8fc02ed741
12 changed files with 61761 additions and 67335 deletions
121
stage0/library/Init/Lean/Expr.c
generated
121
stage0/library/Init/Lean/Expr.c
generated
|
|
@ -155,6 +155,7 @@ lean_object* l_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Expr_isMVar___boxed(lean_object*);
|
||||
uint8_t l_Lean_Expr_Data_hasExprMVar(uint64_t);
|
||||
lean_object* l_Lean_Literal_type(lean_object*);
|
||||
lean_object* l_Lean_Literal_beq___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_isConstOf___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_expr_mk_mdata(lean_object*, lean_object*);
|
||||
uint64_t l_Lean_BinderInfo_toUInt64(uint8_t);
|
||||
|
|
@ -182,6 +183,7 @@ lean_object* l_Lean_Expr_constLevels_x21(lean_object*);
|
|||
lean_object* l_Lean_Expr_hasLevelParam___boxed(lean_object*);
|
||||
lean_object* l_Lean_Expr_updateFn___main___boxed(lean_object*, lean_object*);
|
||||
uint8_t lean_expr_has_mvar(lean_object*);
|
||||
uint8_t l_Lean_Literal_beq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_BinderInfo_hasBeq___closed__1;
|
||||
uint8_t lean_expr_binder_info(lean_object*);
|
||||
uint64_t l_Lean_Expr_mkData___closed__2;
|
||||
|
|
@ -254,6 +256,7 @@ uint8_t l_Lean_BinderInfo_isAuxDecl(uint8_t);
|
|||
lean_object* l_Lean_Expr_bindingName_x21___closed__1;
|
||||
lean_object* l_Lean_Expr_Data_hasLevelMVar___boxed(lean_object*);
|
||||
uint8_t l_Lean_Expr_Data_nonDepLet(uint64_t);
|
||||
lean_object* l_Lean_Literal_hasBeq___closed__1;
|
||||
uint64_t l_UInt64_land(uint64_t, uint64_t);
|
||||
lean_object* l___private_Init_Lean_Expr_3__getAppArgsAux___main(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_expr_mk_app(lean_object*, lean_object*);
|
||||
|
|
@ -280,6 +283,7 @@ lean_object* l_Lean_ExprStructEq_Inhabited;
|
|||
lean_object* l_Lean_Expr_bvarIdx_x21(lean_object*);
|
||||
lean_object* l_Lean_Expr_updateProj_x21___closed__2;
|
||||
lean_object* l_Lean_mkLocal(lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
lean_object* l_Lean_Literal_hasBeq;
|
||||
lean_object* l_Lean_Expr_getAppNumArgsAux___main___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_instantiateRevRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_updateLambda_x21___closed__1;
|
||||
|
|
@ -456,6 +460,7 @@ uint8_t l_Lean_Expr_isLet(lean_object*);
|
|||
lean_object* l_Lean_Expr_isLet___boxed(lean_object*);
|
||||
lean_object* l_Lean_ExprStructEq_hash___boxed(lean_object*);
|
||||
lean_object* l___private_Init_Lean_Expr_7__betaRevAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
uint32_t l_Lean_Expr_Data_looseBVarRange(uint64_t);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
uint64_t l_Lean_Expr_mkData(size_t, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t);
|
||||
|
|
@ -528,6 +533,72 @@ x_1 = l_Lean_Literal_hashable___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
uint8_t l_Lean_Literal_beq(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
x_3 = lean_ctor_get(x_1, 0);
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_nat_dec_eq(x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_6;
|
||||
x_6 = 0;
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
uint8_t x_7;
|
||||
x_7 = 0;
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; uint8_t x_10;
|
||||
x_8 = lean_ctor_get(x_1, 0);
|
||||
x_9 = lean_ctor_get(x_2, 0);
|
||||
x_10 = lean_string_dec_eq(x_8, x_9);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Literal_beq___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Literal_beq(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l_Lean_Literal_hasBeq___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Literal_beq___boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l_Lean_Literal_hasBeq() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Literal_hasBeq___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
size_t l_Lean_BinderInfo_hash(uint8_t x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1024,7 +1095,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(122u);
|
||||
x_2 = lean_unsigned_to_nat(129u);
|
||||
x_3 = lean_unsigned_to_nat(42u);
|
||||
x_4 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__2;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -5237,7 +5308,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(455u);
|
||||
x_2 = lean_unsigned_to_nat(462u);
|
||||
x_3 = lean_unsigned_to_nat(20u);
|
||||
x_4 = l_List_get_x21___main___rarg___closed__2;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -5491,7 +5562,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(475u);
|
||||
x_2 = lean_unsigned_to_nat(482u);
|
||||
x_3 = lean_unsigned_to_nat(15u);
|
||||
x_4 = l_Lean_Expr_appFn_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -5532,7 +5603,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(479u);
|
||||
x_2 = lean_unsigned_to_nat(486u);
|
||||
x_3 = lean_unsigned_to_nat(15u);
|
||||
x_4 = l_Lean_Expr_appFn_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -5581,7 +5652,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(483u);
|
||||
x_2 = lean_unsigned_to_nat(490u);
|
||||
x_3 = lean_unsigned_to_nat(17u);
|
||||
x_4 = l_Lean_Expr_constName_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -5622,7 +5693,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(487u);
|
||||
x_2 = lean_unsigned_to_nat(494u);
|
||||
x_3 = lean_unsigned_to_nat(18u);
|
||||
x_4 = l_Lean_Expr_constName_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -5671,7 +5742,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(491u);
|
||||
x_2 = lean_unsigned_to_nat(498u);
|
||||
x_3 = lean_unsigned_to_nat(16u);
|
||||
x_4 = l_Lean_Expr_bvarIdx_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -5720,7 +5791,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(495u);
|
||||
x_2 = lean_unsigned_to_nat(502u);
|
||||
x_3 = lean_unsigned_to_nat(14u);
|
||||
x_4 = l_Lean_Expr_fvarId_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -5769,7 +5840,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(499u);
|
||||
x_2 = lean_unsigned_to_nat(506u);
|
||||
x_3 = lean_unsigned_to_nat(14u);
|
||||
x_4 = l_Lean_Expr_mvarId_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -5818,7 +5889,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(504u);
|
||||
x_2 = lean_unsigned_to_nat(511u);
|
||||
x_3 = lean_unsigned_to_nat(21u);
|
||||
x_4 = l_Lean_Expr_bindingName_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -5868,7 +5939,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(509u);
|
||||
x_2 = lean_unsigned_to_nat(516u);
|
||||
x_3 = lean_unsigned_to_nat(21u);
|
||||
x_4 = l_Lean_Expr_bindingName_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -5918,7 +5989,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(514u);
|
||||
x_2 = lean_unsigned_to_nat(521u);
|
||||
x_3 = lean_unsigned_to_nat(21u);
|
||||
x_4 = l_Lean_Expr_bindingName_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -5976,7 +6047,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(518u);
|
||||
x_2 = lean_unsigned_to_nat(525u);
|
||||
x_3 = lean_unsigned_to_nat(20u);
|
||||
x_4 = l_Lean_Expr_letName_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -6782,7 +6853,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(684u);
|
||||
x_2 = lean_unsigned_to_nat(691u);
|
||||
x_3 = lean_unsigned_to_nat(18u);
|
||||
x_4 = l_Lean_Expr_appFn_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -6824,7 +6895,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(693u);
|
||||
x_2 = lean_unsigned_to_nat(700u);
|
||||
x_3 = lean_unsigned_to_nat(18u);
|
||||
x_4 = l_Lean_Expr_constName_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -6873,7 +6944,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(702u);
|
||||
x_2 = lean_unsigned_to_nat(709u);
|
||||
x_3 = lean_unsigned_to_nat(14u);
|
||||
x_4 = l_Lean_Expr_updateSort_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -6930,7 +7001,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(719u);
|
||||
x_2 = lean_unsigned_to_nat(726u);
|
||||
x_3 = lean_unsigned_to_nat(17u);
|
||||
x_4 = l_Lean_Expr_updateMData_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -6971,7 +7042,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(724u);
|
||||
x_2 = lean_unsigned_to_nat(731u);
|
||||
x_3 = lean_unsigned_to_nat(18u);
|
||||
x_4 = l_Lean_Expr_updateProj_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -7022,7 +7093,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(733u);
|
||||
x_2 = lean_unsigned_to_nat(740u);
|
||||
x_3 = lean_unsigned_to_nat(21u);
|
||||
x_4 = l_Lean_Expr_updateForall_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -7066,7 +7137,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(738u);
|
||||
x_2 = lean_unsigned_to_nat(745u);
|
||||
x_3 = lean_unsigned_to_nat(21u);
|
||||
x_4 = l_Lean_Expr_updateForall_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -7120,7 +7191,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(747u);
|
||||
x_2 = lean_unsigned_to_nat(754u);
|
||||
x_3 = lean_unsigned_to_nat(17u);
|
||||
x_4 = l_Lean_Expr_updateLambda_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -7164,7 +7235,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(752u);
|
||||
x_2 = lean_unsigned_to_nat(759u);
|
||||
x_3 = lean_unsigned_to_nat(17u);
|
||||
x_4 = l_Lean_Expr_updateLambda_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -7208,7 +7279,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Init_Lean_Expr_1__Expr_mkDataCore___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(761u);
|
||||
x_2 = lean_unsigned_to_nat(768u);
|
||||
x_3 = lean_unsigned_to_nat(20u);
|
||||
x_4 = l_Lean_Expr_letName_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
|
|
@ -7323,6 +7394,10 @@ l_Lean_Literal_hashable___closed__1 = _init_l_Lean_Literal_hashable___closed__1(
|
|||
lean_mark_persistent(l_Lean_Literal_hashable___closed__1);
|
||||
l_Lean_Literal_hashable = _init_l_Lean_Literal_hashable();
|
||||
lean_mark_persistent(l_Lean_Literal_hashable);
|
||||
l_Lean_Literal_hasBeq___closed__1 = _init_l_Lean_Literal_hasBeq___closed__1();
|
||||
lean_mark_persistent(l_Lean_Literal_hasBeq___closed__1);
|
||||
l_Lean_Literal_hasBeq = _init_l_Lean_Literal_hasBeq();
|
||||
lean_mark_persistent(l_Lean_Literal_hasBeq);
|
||||
l_Lean_BinderInfo_hashable___closed__1 = _init_l_Lean_BinderInfo_hashable___closed__1();
|
||||
lean_mark_persistent(l_Lean_BinderInfo_hashable___closed__1);
|
||||
l_Lean_BinderInfo_hashable = _init_l_Lean_BinderInfo_hashable();
|
||||
|
|
|
|||
31876
stage0/library/Init/Lean/Meta.c
generated
31876
stage0/library/Init/Lean/Meta.c
generated
File diff suppressed because it is too large
Load diff
9954
stage0/library/Init/Lean/Meta/Basic.c
generated
9954
stage0/library/Init/Lean/Meta/Basic.c
generated
File diff suppressed because it is too large
Load diff
5279
stage0/library/Init/Lean/Meta/Check.c
generated
5279
stage0/library/Init/Lean/Meta/Check.c
generated
File diff suppressed because it is too large
Load diff
30
stage0/library/Init/Lean/Meta/Exception.c
generated
30
stage0/library/Init/Lean/Meta/Exception.c
generated
|
|
@ -35,6 +35,7 @@ extern lean_object* l_List_repr___rarg___closed__2;
|
|||
extern lean_object* l_List_reprAux___main___rarg___closed__1;
|
||||
lean_object* l_Lean_Meta_Exception_toStr___closed__11;
|
||||
extern lean_object* l_Lean_Options_empty;
|
||||
lean_object* l_Lean_Meta_Exception_toStr___closed__16;
|
||||
lean_object* l_Lean_Meta_Exception_toStr___closed__7;
|
||||
lean_object* l_List_toStringAux___main___at_Lean_Meta_Exception_toStr___spec__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Exception_toStr___closed__10;
|
||||
|
|
@ -54,7 +55,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_String_splitAux___main___closed__1;
|
||||
x_2 = lean_alloc_ctor(14, 1, 0);
|
||||
x_2 = lean_alloc_ctor(15, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -249,7 +250,7 @@ lean_object* _init_l_Lean_Meta_Exception_toStr___closed__13() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("type mismatch at let-expression");
|
||||
x_1 = lean_mk_string("isDefEq is stuck");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -257,7 +258,7 @@ lean_object* _init_l_Lean_Meta_Exception_toStr___closed__14() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("application type mismatch");
|
||||
x_1 = lean_mk_string("type mismatch at let-expression");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -265,6 +266,14 @@ lean_object* _init_l_Lean_Meta_Exception_toStr___closed__15() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("application type mismatch");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l_Lean_Meta_Exception_toStr___closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("bug");
|
||||
return x_1;
|
||||
}
|
||||
|
|
@ -421,14 +430,21 @@ lean_dec(x_1);
|
|||
x_51 = l_Lean_Meta_Exception_toStr___closed__15;
|
||||
return x_51;
|
||||
}
|
||||
default:
|
||||
case 14:
|
||||
{
|
||||
lean_object* x_52;
|
||||
x_52 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_52);
|
||||
lean_dec(x_1);
|
||||
x_52 = l_Lean_Meta_Exception_toStr___closed__16;
|
||||
return x_52;
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_53;
|
||||
x_53 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_53);
|
||||
lean_dec(x_1);
|
||||
return x_53;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -505,6 +521,8 @@ l_Lean_Meta_Exception_toStr___closed__14 = _init_l_Lean_Meta_Exception_toStr___c
|
|||
lean_mark_persistent(l_Lean_Meta_Exception_toStr___closed__14);
|
||||
l_Lean_Meta_Exception_toStr___closed__15 = _init_l_Lean_Meta_Exception_toStr___closed__15();
|
||||
lean_mark_persistent(l_Lean_Meta_Exception_toStr___closed__15);
|
||||
l_Lean_Meta_Exception_toStr___closed__16 = _init_l_Lean_Meta_Exception_toStr___closed__16();
|
||||
lean_mark_persistent(l_Lean_Meta_Exception_toStr___closed__16);
|
||||
l_Lean_Meta_Exception_HasToString___closed__1 = _init_l_Lean_Meta_Exception_HasToString___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Exception_HasToString___closed__1);
|
||||
l_Lean_Meta_Exception_HasToString = _init_l_Lean_Meta_Exception_HasToString();
|
||||
|
|
|
|||
42142
stage0/library/Init/Lean/Meta/ExprDefEq.c
generated
42142
stage0/library/Init/Lean/Meta/ExprDefEq.c
generated
File diff suppressed because it is too large
Load diff
2810
stage0/library/Init/Lean/Meta/FunInfo.c
generated
2810
stage0/library/Init/Lean/Meta/FunInfo.c
generated
File diff suppressed because it is too large
Load diff
19059
stage0/library/Init/Lean/Meta/InferType.c
generated
19059
stage0/library/Init/Lean/Meta/InferType.c
generated
File diff suppressed because it is too large
Load diff
4871
stage0/library/Init/Lean/Meta/LevelDefEq.c
generated
4871
stage0/library/Init/Lean/Meta/LevelDefEq.c
generated
File diff suppressed because it is too large
Load diff
791
stage0/library/Init/Lean/Meta/Offset.c
generated
791
stage0/library/Init/Lean/Meta/Offset.c
generated
|
|
@ -13,14 +13,13 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
lean_object* l_Lean_Meta_isExprDefEqAux(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkCAppB(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isDefEqOffset___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_evalNat___main___closed__10;
|
||||
lean_object* l___private_Init_Lean_Meta_Offset_1__getOffset___main(lean_object*);
|
||||
lean_object* l___private_Init_Lean_Meta_Offset_1__getOffset(lean_object*);
|
||||
lean_object* l_Lean_Expr_getAppFn___main(lean_object*);
|
||||
lean_object* l_Lean_Meta_isDefEqOffset___boxed(lean_object*);
|
||||
lean_object* l_Lean_Meta_evalNat(lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*);
|
||||
|
|
@ -28,7 +27,7 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Meta_evalNat___main___closed__11;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_evalNat___main(lean_object*);
|
||||
lean_object* l_Lean_Meta_isDefEqOffset(lean_object*);
|
||||
lean_object* l_Lean_Meta_isDefEqOffset(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_evalNat___main___closed__12;
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Literal_type___closed__1;
|
||||
|
|
@ -1428,161 +1427,158 @@ return x_38;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Meta_isDefEqOffset___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
lean_object* l_Lean_Meta_isDefEqOffset(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
lean_inc(x_1);
|
||||
x_5 = l___private_Init_Lean_Meta_Offset_2__isOffset(x_1);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
lean_object* x_6;
|
||||
lean_inc(x_2);
|
||||
x_6 = l___private_Init_Lean_Meta_Offset_2__isOffset(x_2);
|
||||
x_6 = l_Lean_Meta_evalNat___main(x_1);
|
||||
if (lean_obj_tag(x_6) == 0)
|
||||
{
|
||||
lean_object* x_7;
|
||||
x_7 = l_Lean_Meta_evalNat___main(x_2);
|
||||
if (lean_obj_tag(x_7) == 0)
|
||||
{
|
||||
uint8_t x_8; lean_object* x_9; lean_object* x_10;
|
||||
lean_dec(x_4);
|
||||
uint8_t x_7; lean_object* x_8; lean_object* x_9;
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_8 = 2;
|
||||
x_9 = lean_box(x_8);
|
||||
x_10 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_10, 0, x_9);
|
||||
lean_ctor_set(x_10, 1, x_5);
|
||||
return x_10;
|
||||
x_7 = 0;
|
||||
x_8 = lean_box(x_7);
|
||||
x_9 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_9, 0, x_8);
|
||||
lean_ctor_set(x_9, 1, x_4);
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
x_11 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_7);
|
||||
lean_inc(x_3);
|
||||
x_12 = l___private_Init_Lean_Meta_Offset_2__isOffset(x_3);
|
||||
lean_object* x_10; lean_object* x_11;
|
||||
x_10 = lean_ctor_get(x_6, 0);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_6);
|
||||
lean_inc(x_2);
|
||||
x_11 = l___private_Init_Lean_Meta_Offset_2__isOffset(x_2);
|
||||
if (lean_obj_tag(x_11) == 0)
|
||||
{
|
||||
lean_object* x_12;
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
x_12 = l_Lean_Meta_evalNat___main(x_2);
|
||||
lean_dec(x_2);
|
||||
if (lean_obj_tag(x_12) == 0)
|
||||
{
|
||||
lean_object* x_13;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_13 = l_Lean_Meta_evalNat___main(x_3);
|
||||
lean_dec(x_3);
|
||||
if (lean_obj_tag(x_13) == 0)
|
||||
{
|
||||
uint8_t x_14; lean_object* x_15; lean_object* x_16;
|
||||
lean_dec(x_11);
|
||||
x_14 = 2;
|
||||
x_15 = lean_box(x_14);
|
||||
x_16 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_5);
|
||||
return x_16;
|
||||
uint8_t x_13; lean_object* x_14; lean_object* x_15;
|
||||
lean_dec(x_10);
|
||||
x_13 = 0;
|
||||
x_14 = lean_box(x_13);
|
||||
x_15 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
lean_ctor_set(x_15, 1, x_4);
|
||||
return x_15;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21;
|
||||
x_17 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_13);
|
||||
x_18 = lean_nat_dec_eq(x_11, x_17);
|
||||
lean_dec(x_17);
|
||||
lean_dec(x_11);
|
||||
x_19 = l_Bool_toLBool(x_18);
|
||||
x_20 = lean_box(x_19);
|
||||
x_21 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_20);
|
||||
lean_ctor_set(x_21, 1, x_5);
|
||||
return x_21;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; uint8_t x_24;
|
||||
lean_dec(x_3);
|
||||
x_22 = lean_ctor_get(x_12, 0);
|
||||
lean_inc(x_22);
|
||||
lean_object* x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_16 = lean_ctor_get(x_12, 0);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_12);
|
||||
x_23 = lean_ctor_get(x_22, 1);
|
||||
lean_inc(x_23);
|
||||
x_17 = lean_nat_dec_eq(x_10, x_16);
|
||||
lean_dec(x_16);
|
||||
lean_dec(x_10);
|
||||
x_18 = l_Bool_toLBool(x_17);
|
||||
x_19 = lean_box(x_18);
|
||||
x_20 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_19);
|
||||
lean_ctor_set(x_20, 1, x_4);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; uint8_t x_23;
|
||||
lean_dec(x_2);
|
||||
x_21 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_11);
|
||||
x_22 = lean_ctor_get(x_21, 1);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_21);
|
||||
x_23 = lean_nat_dec_le(x_22, x_10);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
uint8_t x_24; lean_object* x_25; lean_object* x_26;
|
||||
lean_dec(x_22);
|
||||
x_24 = lean_nat_dec_le(x_23, x_11);
|
||||
if (x_24 == 0)
|
||||
{
|
||||
uint8_t x_25; lean_object* x_26; lean_object* x_27;
|
||||
lean_dec(x_23);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
x_25 = 0;
|
||||
x_26 = lean_box(x_25);
|
||||
x_27 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_27, 0, x_26);
|
||||
lean_ctor_set(x_27, 1, x_5);
|
||||
return x_27;
|
||||
x_24 = 0;
|
||||
x_25 = lean_box(x_24);
|
||||
x_26 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_26, 0, x_25);
|
||||
lean_ctor_set(x_26, 1, x_4);
|
||||
return x_26;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
x_28 = lean_nat_sub(x_11, x_23);
|
||||
lean_dec(x_23);
|
||||
lean_dec(x_11);
|
||||
x_29 = l_Lean_mkNatLit(x_28);
|
||||
x_30 = lean_apply_4(x_1, x_2, x_29, x_4, x_5);
|
||||
if (lean_obj_tag(x_30) == 0)
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29;
|
||||
x_27 = lean_nat_sub(x_10, x_22);
|
||||
lean_dec(x_22);
|
||||
lean_dec(x_10);
|
||||
x_28 = l_Lean_mkNatLit(x_27);
|
||||
x_29 = l_Lean_Meta_isExprDefEqAux(x_1, x_28, x_3, x_4);
|
||||
if (lean_obj_tag(x_29) == 0)
|
||||
{
|
||||
uint8_t x_31;
|
||||
x_31 = !lean_is_exclusive(x_30);
|
||||
if (x_31 == 0)
|
||||
uint8_t x_30;
|
||||
x_30 = !lean_is_exclusive(x_29);
|
||||
if (x_30 == 0)
|
||||
{
|
||||
lean_object* x_32; uint8_t x_33; uint8_t x_34; lean_object* x_35;
|
||||
x_32 = lean_ctor_get(x_30, 0);
|
||||
x_33 = lean_unbox(x_32);
|
||||
lean_dec(x_32);
|
||||
x_34 = l_Bool_toLBool(x_33);
|
||||
x_35 = lean_box(x_34);
|
||||
lean_ctor_set(x_30, 0, x_35);
|
||||
return x_30;
|
||||
lean_object* x_31; uint8_t x_32; uint8_t x_33; lean_object* x_34;
|
||||
x_31 = lean_ctor_get(x_29, 0);
|
||||
x_32 = lean_unbox(x_31);
|
||||
lean_dec(x_31);
|
||||
x_33 = l_Bool_toLBool(x_32);
|
||||
x_34 = lean_box(x_33);
|
||||
lean_ctor_set(x_29, 0, x_34);
|
||||
return x_29;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41;
|
||||
x_36 = lean_ctor_get(x_30, 0);
|
||||
x_37 = lean_ctor_get(x_30, 1);
|
||||
lean_inc(x_37);
|
||||
lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40;
|
||||
x_35 = lean_ctor_get(x_29, 0);
|
||||
x_36 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_36);
|
||||
lean_dec(x_30);
|
||||
x_38 = lean_unbox(x_36);
|
||||
lean_dec(x_36);
|
||||
x_39 = l_Bool_toLBool(x_38);
|
||||
x_40 = lean_box(x_39);
|
||||
x_41 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_41, 0, x_40);
|
||||
lean_ctor_set(x_41, 1, x_37);
|
||||
return x_41;
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_29);
|
||||
x_37 = lean_unbox(x_35);
|
||||
lean_dec(x_35);
|
||||
x_38 = l_Bool_toLBool(x_37);
|
||||
x_39 = lean_box(x_38);
|
||||
x_40 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_39);
|
||||
lean_ctor_set(x_40, 1, x_36);
|
||||
return x_40;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_42;
|
||||
x_42 = !lean_is_exclusive(x_30);
|
||||
if (x_42 == 0)
|
||||
uint8_t x_41;
|
||||
x_41 = !lean_is_exclusive(x_29);
|
||||
if (x_41 == 0)
|
||||
{
|
||||
return x_30;
|
||||
return x_29;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_43; lean_object* x_44; lean_object* x_45;
|
||||
x_43 = lean_ctor_get(x_30, 0);
|
||||
x_44 = lean_ctor_get(x_30, 1);
|
||||
lean_inc(x_44);
|
||||
lean_object* x_42; lean_object* x_43; lean_object* x_44;
|
||||
x_42 = lean_ctor_get(x_29, 0);
|
||||
x_43 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_43);
|
||||
lean_dec(x_30);
|
||||
x_45 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_45, 0, x_43);
|
||||
lean_ctor_set(x_45, 1, x_44);
|
||||
return x_45;
|
||||
lean_inc(x_42);
|
||||
lean_dec(x_29);
|
||||
x_44 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_44, 0, x_42);
|
||||
lean_ctor_set(x_44, 1, x_43);
|
||||
return x_44;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1591,334 +1587,332 @@ return x_45;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49;
|
||||
lean_dec(x_2);
|
||||
x_46 = lean_ctor_get(x_6, 0);
|
||||
lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48;
|
||||
lean_dec(x_1);
|
||||
x_45 = lean_ctor_get(x_5, 0);
|
||||
lean_inc(x_45);
|
||||
lean_dec(x_5);
|
||||
x_46 = lean_ctor_get(x_45, 0);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_6);
|
||||
x_47 = lean_ctor_get(x_46, 0);
|
||||
x_47 = lean_ctor_get(x_45, 1);
|
||||
lean_inc(x_47);
|
||||
x_48 = lean_ctor_get(x_46, 1);
|
||||
lean_inc(x_48);
|
||||
lean_dec(x_46);
|
||||
lean_inc(x_3);
|
||||
x_49 = l___private_Init_Lean_Meta_Offset_2__isOffset(x_3);
|
||||
lean_dec(x_45);
|
||||
lean_inc(x_2);
|
||||
x_48 = l___private_Init_Lean_Meta_Offset_2__isOffset(x_2);
|
||||
if (lean_obj_tag(x_48) == 0)
|
||||
{
|
||||
lean_object* x_49;
|
||||
x_49 = l_Lean_Meta_evalNat___main(x_2);
|
||||
lean_dec(x_2);
|
||||
if (lean_obj_tag(x_49) == 0)
|
||||
{
|
||||
lean_object* x_50;
|
||||
x_50 = l_Lean_Meta_evalNat___main(x_3);
|
||||
lean_dec(x_3);
|
||||
if (lean_obj_tag(x_50) == 0)
|
||||
{
|
||||
uint8_t x_51; lean_object* x_52; lean_object* x_53;
|
||||
lean_dec(x_48);
|
||||
uint8_t x_50; lean_object* x_51; lean_object* x_52;
|
||||
lean_dec(x_47);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_1);
|
||||
x_51 = 2;
|
||||
x_52 = lean_box(x_51);
|
||||
x_53 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_53, 0, x_52);
|
||||
lean_ctor_set(x_53, 1, x_5);
|
||||
return x_53;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_54; uint8_t x_55;
|
||||
x_54 = lean_ctor_get(x_50, 0);
|
||||
lean_inc(x_54);
|
||||
lean_dec(x_50);
|
||||
x_55 = lean_nat_dec_le(x_48, x_54);
|
||||
if (x_55 == 0)
|
||||
{
|
||||
uint8_t x_56; lean_object* x_57; lean_object* x_58;
|
||||
lean_dec(x_54);
|
||||
lean_dec(x_48);
|
||||
lean_dec(x_47);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_1);
|
||||
x_56 = 0;
|
||||
x_57 = lean_box(x_56);
|
||||
x_58 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_58, 0, x_57);
|
||||
lean_ctor_set(x_58, 1, x_5);
|
||||
return x_58;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_59; lean_object* x_60; lean_object* x_61;
|
||||
x_59 = lean_nat_sub(x_54, x_48);
|
||||
lean_dec(x_48);
|
||||
lean_dec(x_54);
|
||||
x_60 = l_Lean_mkNatLit(x_59);
|
||||
x_61 = lean_apply_4(x_1, x_47, x_60, x_4, x_5);
|
||||
if (lean_obj_tag(x_61) == 0)
|
||||
{
|
||||
uint8_t x_62;
|
||||
x_62 = !lean_is_exclusive(x_61);
|
||||
if (x_62 == 0)
|
||||
{
|
||||
lean_object* x_63; uint8_t x_64; uint8_t x_65; lean_object* x_66;
|
||||
x_63 = lean_ctor_get(x_61, 0);
|
||||
x_64 = lean_unbox(x_63);
|
||||
lean_dec(x_63);
|
||||
x_65 = l_Bool_toLBool(x_64);
|
||||
x_66 = lean_box(x_65);
|
||||
lean_ctor_set(x_61, 0, x_66);
|
||||
return x_61;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_67; lean_object* x_68; uint8_t x_69; uint8_t x_70; lean_object* x_71; lean_object* x_72;
|
||||
x_67 = lean_ctor_get(x_61, 0);
|
||||
x_68 = lean_ctor_get(x_61, 1);
|
||||
lean_inc(x_68);
|
||||
lean_inc(x_67);
|
||||
lean_dec(x_61);
|
||||
x_69 = lean_unbox(x_67);
|
||||
lean_dec(x_67);
|
||||
x_70 = l_Bool_toLBool(x_69);
|
||||
x_71 = lean_box(x_70);
|
||||
x_72 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_72, 0, x_71);
|
||||
lean_ctor_set(x_72, 1, x_68);
|
||||
return x_72;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_73;
|
||||
x_73 = !lean_is_exclusive(x_61);
|
||||
if (x_73 == 0)
|
||||
{
|
||||
return x_61;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_74; lean_object* x_75; lean_object* x_76;
|
||||
x_74 = lean_ctor_get(x_61, 0);
|
||||
x_75 = lean_ctor_get(x_61, 1);
|
||||
lean_inc(x_75);
|
||||
lean_inc(x_74);
|
||||
lean_dec(x_61);
|
||||
x_76 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_76, 0, x_74);
|
||||
lean_ctor_set(x_76, 1, x_75);
|
||||
return x_76;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80;
|
||||
lean_dec(x_46);
|
||||
lean_dec(x_3);
|
||||
x_77 = lean_ctor_get(x_49, 0);
|
||||
lean_inc(x_77);
|
||||
x_50 = 2;
|
||||
x_51 = lean_box(x_50);
|
||||
x_52 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_52, 0, x_51);
|
||||
lean_ctor_set(x_52, 1, x_4);
|
||||
return x_52;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_53; uint8_t x_54;
|
||||
x_53 = lean_ctor_get(x_49, 0);
|
||||
lean_inc(x_53);
|
||||
lean_dec(x_49);
|
||||
x_78 = lean_ctor_get(x_77, 0);
|
||||
x_54 = lean_nat_dec_le(x_47, x_53);
|
||||
if (x_54 == 0)
|
||||
{
|
||||
uint8_t x_55; lean_object* x_56; lean_object* x_57;
|
||||
lean_dec(x_53);
|
||||
lean_dec(x_47);
|
||||
lean_dec(x_46);
|
||||
lean_dec(x_3);
|
||||
x_55 = 0;
|
||||
x_56 = lean_box(x_55);
|
||||
x_57 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_57, 0, x_56);
|
||||
lean_ctor_set(x_57, 1, x_4);
|
||||
return x_57;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_58; lean_object* x_59; lean_object* x_60;
|
||||
x_58 = lean_nat_sub(x_53, x_47);
|
||||
lean_dec(x_47);
|
||||
lean_dec(x_53);
|
||||
x_59 = l_Lean_mkNatLit(x_58);
|
||||
x_60 = l_Lean_Meta_isExprDefEqAux(x_46, x_59, x_3, x_4);
|
||||
if (lean_obj_tag(x_60) == 0)
|
||||
{
|
||||
uint8_t x_61;
|
||||
x_61 = !lean_is_exclusive(x_60);
|
||||
if (x_61 == 0)
|
||||
{
|
||||
lean_object* x_62; uint8_t x_63; uint8_t x_64; lean_object* x_65;
|
||||
x_62 = lean_ctor_get(x_60, 0);
|
||||
x_63 = lean_unbox(x_62);
|
||||
lean_dec(x_62);
|
||||
x_64 = l_Bool_toLBool(x_63);
|
||||
x_65 = lean_box(x_64);
|
||||
lean_ctor_set(x_60, 0, x_65);
|
||||
return x_60;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_66; lean_object* x_67; uint8_t x_68; uint8_t x_69; lean_object* x_70; lean_object* x_71;
|
||||
x_66 = lean_ctor_get(x_60, 0);
|
||||
x_67 = lean_ctor_get(x_60, 1);
|
||||
lean_inc(x_67);
|
||||
lean_inc(x_66);
|
||||
lean_dec(x_60);
|
||||
x_68 = lean_unbox(x_66);
|
||||
lean_dec(x_66);
|
||||
x_69 = l_Bool_toLBool(x_68);
|
||||
x_70 = lean_box(x_69);
|
||||
x_71 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_71, 0, x_70);
|
||||
lean_ctor_set(x_71, 1, x_67);
|
||||
return x_71;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_72;
|
||||
x_72 = !lean_is_exclusive(x_60);
|
||||
if (x_72 == 0)
|
||||
{
|
||||
return x_60;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_73; lean_object* x_74; lean_object* x_75;
|
||||
x_73 = lean_ctor_get(x_60, 0);
|
||||
x_74 = lean_ctor_get(x_60, 1);
|
||||
lean_inc(x_74);
|
||||
lean_inc(x_73);
|
||||
lean_dec(x_60);
|
||||
x_75 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_75, 0, x_73);
|
||||
lean_ctor_set(x_75, 1, x_74);
|
||||
return x_75;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79;
|
||||
lean_dec(x_2);
|
||||
x_76 = lean_ctor_get(x_48, 0);
|
||||
lean_inc(x_76);
|
||||
lean_dec(x_48);
|
||||
x_77 = lean_ctor_get(x_76, 0);
|
||||
lean_inc(x_77);
|
||||
x_78 = lean_ctor_get(x_76, 1);
|
||||
lean_inc(x_78);
|
||||
x_79 = lean_ctor_get(x_77, 1);
|
||||
lean_inc(x_79);
|
||||
lean_dec(x_77);
|
||||
x_80 = lean_nat_dec_eq(x_48, x_79);
|
||||
lean_dec(x_76);
|
||||
x_79 = lean_nat_dec_eq(x_47, x_78);
|
||||
if (x_79 == 0)
|
||||
{
|
||||
uint8_t x_80;
|
||||
x_80 = lean_nat_dec_lt(x_47, x_78);
|
||||
if (x_80 == 0)
|
||||
{
|
||||
uint8_t x_81;
|
||||
x_81 = lean_nat_dec_lt(x_48, x_79);
|
||||
if (x_81 == 0)
|
||||
lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85;
|
||||
x_81 = lean_nat_sub(x_47, x_78);
|
||||
lean_dec(x_78);
|
||||
lean_dec(x_47);
|
||||
x_82 = l_Lean_mkNatLit(x_81);
|
||||
x_83 = l_Lean_Meta_evalNat___main___closed__12;
|
||||
x_84 = l_Lean_mkCAppB(x_83, x_46, x_82);
|
||||
x_85 = l_Lean_Meta_isExprDefEqAux(x_84, x_77, x_3, x_4);
|
||||
if (lean_obj_tag(x_85) == 0)
|
||||
{
|
||||
lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86;
|
||||
x_82 = lean_nat_sub(x_48, x_79);
|
||||
lean_dec(x_79);
|
||||
lean_dec(x_48);
|
||||
x_83 = l_Lean_mkNatLit(x_82);
|
||||
x_84 = l_Lean_Meta_evalNat___main___closed__12;
|
||||
x_85 = l_Lean_mkCAppB(x_84, x_47, x_83);
|
||||
x_86 = lean_apply_4(x_1, x_85, x_78, x_4, x_5);
|
||||
if (lean_obj_tag(x_86) == 0)
|
||||
uint8_t x_86;
|
||||
x_86 = !lean_is_exclusive(x_85);
|
||||
if (x_86 == 0)
|
||||
{
|
||||
uint8_t x_87;
|
||||
x_87 = !lean_is_exclusive(x_86);
|
||||
if (x_87 == 0)
|
||||
{
|
||||
lean_object* x_88; uint8_t x_89; uint8_t x_90; lean_object* x_91;
|
||||
x_88 = lean_ctor_get(x_86, 0);
|
||||
x_89 = lean_unbox(x_88);
|
||||
lean_dec(x_88);
|
||||
x_90 = l_Bool_toLBool(x_89);
|
||||
x_91 = lean_box(x_90);
|
||||
lean_ctor_set(x_86, 0, x_91);
|
||||
return x_86;
|
||||
lean_object* x_87; uint8_t x_88; uint8_t x_89; lean_object* x_90;
|
||||
x_87 = lean_ctor_get(x_85, 0);
|
||||
x_88 = lean_unbox(x_87);
|
||||
lean_dec(x_87);
|
||||
x_89 = l_Bool_toLBool(x_88);
|
||||
x_90 = lean_box(x_89);
|
||||
lean_ctor_set(x_85, 0, x_90);
|
||||
return x_85;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_92; lean_object* x_93; uint8_t x_94; uint8_t x_95; lean_object* x_96; lean_object* x_97;
|
||||
x_92 = lean_ctor_get(x_86, 0);
|
||||
x_93 = lean_ctor_get(x_86, 1);
|
||||
lean_inc(x_93);
|
||||
lean_object* x_91; lean_object* x_92; uint8_t x_93; uint8_t x_94; lean_object* x_95; lean_object* x_96;
|
||||
x_91 = lean_ctor_get(x_85, 0);
|
||||
x_92 = lean_ctor_get(x_85, 1);
|
||||
lean_inc(x_92);
|
||||
lean_dec(x_86);
|
||||
x_94 = lean_unbox(x_92);
|
||||
lean_dec(x_92);
|
||||
x_95 = l_Bool_toLBool(x_94);
|
||||
x_96 = lean_box(x_95);
|
||||
x_97 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_97, 0, x_96);
|
||||
lean_ctor_set(x_97, 1, x_93);
|
||||
return x_97;
|
||||
lean_inc(x_91);
|
||||
lean_dec(x_85);
|
||||
x_93 = lean_unbox(x_91);
|
||||
lean_dec(x_91);
|
||||
x_94 = l_Bool_toLBool(x_93);
|
||||
x_95 = lean_box(x_94);
|
||||
x_96 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_96, 0, x_95);
|
||||
lean_ctor_set(x_96, 1, x_92);
|
||||
return x_96;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_98;
|
||||
x_98 = !lean_is_exclusive(x_86);
|
||||
if (x_98 == 0)
|
||||
uint8_t x_97;
|
||||
x_97 = !lean_is_exclusive(x_85);
|
||||
if (x_97 == 0)
|
||||
{
|
||||
return x_86;
|
||||
return x_85;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_99; lean_object* x_100; lean_object* x_101;
|
||||
x_99 = lean_ctor_get(x_86, 0);
|
||||
x_100 = lean_ctor_get(x_86, 1);
|
||||
lean_inc(x_100);
|
||||
lean_object* x_98; lean_object* x_99; lean_object* x_100;
|
||||
x_98 = lean_ctor_get(x_85, 0);
|
||||
x_99 = lean_ctor_get(x_85, 1);
|
||||
lean_inc(x_99);
|
||||
lean_dec(x_86);
|
||||
x_101 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_101, 0, x_99);
|
||||
lean_ctor_set(x_101, 1, x_100);
|
||||
return x_101;
|
||||
lean_inc(x_98);
|
||||
lean_dec(x_85);
|
||||
x_100 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_100, 0, x_98);
|
||||
lean_ctor_set(x_100, 1, x_99);
|
||||
return x_100;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106;
|
||||
x_102 = lean_nat_sub(x_79, x_48);
|
||||
lean_dec(x_48);
|
||||
lean_dec(x_79);
|
||||
x_103 = l_Lean_mkNatLit(x_102);
|
||||
x_104 = l_Lean_Meta_evalNat___main___closed__12;
|
||||
x_105 = l_Lean_mkCAppB(x_104, x_78, x_103);
|
||||
x_106 = lean_apply_4(x_1, x_47, x_105, x_4, x_5);
|
||||
if (lean_obj_tag(x_106) == 0)
|
||||
lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105;
|
||||
x_101 = lean_nat_sub(x_78, x_47);
|
||||
lean_dec(x_47);
|
||||
lean_dec(x_78);
|
||||
x_102 = l_Lean_mkNatLit(x_101);
|
||||
x_103 = l_Lean_Meta_evalNat___main___closed__12;
|
||||
x_104 = l_Lean_mkCAppB(x_103, x_77, x_102);
|
||||
x_105 = l_Lean_Meta_isExprDefEqAux(x_46, x_104, x_3, x_4);
|
||||
if (lean_obj_tag(x_105) == 0)
|
||||
{
|
||||
uint8_t x_107;
|
||||
x_107 = !lean_is_exclusive(x_106);
|
||||
if (x_107 == 0)
|
||||
uint8_t x_106;
|
||||
x_106 = !lean_is_exclusive(x_105);
|
||||
if (x_106 == 0)
|
||||
{
|
||||
lean_object* x_108; uint8_t x_109; uint8_t x_110; lean_object* x_111;
|
||||
x_108 = lean_ctor_get(x_106, 0);
|
||||
x_109 = lean_unbox(x_108);
|
||||
lean_dec(x_108);
|
||||
x_110 = l_Bool_toLBool(x_109);
|
||||
x_111 = lean_box(x_110);
|
||||
lean_ctor_set(x_106, 0, x_111);
|
||||
return x_106;
|
||||
lean_object* x_107; uint8_t x_108; uint8_t x_109; lean_object* x_110;
|
||||
x_107 = lean_ctor_get(x_105, 0);
|
||||
x_108 = lean_unbox(x_107);
|
||||
lean_dec(x_107);
|
||||
x_109 = l_Bool_toLBool(x_108);
|
||||
x_110 = lean_box(x_109);
|
||||
lean_ctor_set(x_105, 0, x_110);
|
||||
return x_105;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_112; lean_object* x_113; uint8_t x_114; uint8_t x_115; lean_object* x_116; lean_object* x_117;
|
||||
x_112 = lean_ctor_get(x_106, 0);
|
||||
x_113 = lean_ctor_get(x_106, 1);
|
||||
lean_inc(x_113);
|
||||
lean_object* x_111; lean_object* x_112; uint8_t x_113; uint8_t x_114; lean_object* x_115; lean_object* x_116;
|
||||
x_111 = lean_ctor_get(x_105, 0);
|
||||
x_112 = lean_ctor_get(x_105, 1);
|
||||
lean_inc(x_112);
|
||||
lean_dec(x_106);
|
||||
x_114 = lean_unbox(x_112);
|
||||
lean_dec(x_112);
|
||||
x_115 = l_Bool_toLBool(x_114);
|
||||
x_116 = lean_box(x_115);
|
||||
x_117 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_117, 0, x_116);
|
||||
lean_ctor_set(x_117, 1, x_113);
|
||||
return x_117;
|
||||
lean_inc(x_111);
|
||||
lean_dec(x_105);
|
||||
x_113 = lean_unbox(x_111);
|
||||
lean_dec(x_111);
|
||||
x_114 = l_Bool_toLBool(x_113);
|
||||
x_115 = lean_box(x_114);
|
||||
x_116 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_116, 0, x_115);
|
||||
lean_ctor_set(x_116, 1, x_112);
|
||||
return x_116;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_118;
|
||||
x_118 = !lean_is_exclusive(x_106);
|
||||
if (x_118 == 0)
|
||||
uint8_t x_117;
|
||||
x_117 = !lean_is_exclusive(x_105);
|
||||
if (x_117 == 0)
|
||||
{
|
||||
return x_106;
|
||||
return x_105;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_119; lean_object* x_120; lean_object* x_121;
|
||||
x_119 = lean_ctor_get(x_106, 0);
|
||||
x_120 = lean_ctor_get(x_106, 1);
|
||||
lean_inc(x_120);
|
||||
lean_object* x_118; lean_object* x_119; lean_object* x_120;
|
||||
x_118 = lean_ctor_get(x_105, 0);
|
||||
x_119 = lean_ctor_get(x_105, 1);
|
||||
lean_inc(x_119);
|
||||
lean_dec(x_106);
|
||||
x_121 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_121, 0, x_119);
|
||||
lean_ctor_set(x_121, 1, x_120);
|
||||
lean_inc(x_118);
|
||||
lean_dec(x_105);
|
||||
x_120 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_120, 0, x_118);
|
||||
lean_ctor_set(x_120, 1, x_119);
|
||||
return x_120;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_121;
|
||||
lean_dec(x_78);
|
||||
lean_dec(x_47);
|
||||
x_121 = l_Lean_Meta_isExprDefEqAux(x_46, x_77, x_3, x_4);
|
||||
if (lean_obj_tag(x_121) == 0)
|
||||
{
|
||||
uint8_t x_122;
|
||||
x_122 = !lean_is_exclusive(x_121);
|
||||
if (x_122 == 0)
|
||||
{
|
||||
lean_object* x_123; uint8_t x_124; uint8_t x_125; lean_object* x_126;
|
||||
x_123 = lean_ctor_get(x_121, 0);
|
||||
x_124 = lean_unbox(x_123);
|
||||
lean_dec(x_123);
|
||||
x_125 = l_Bool_toLBool(x_124);
|
||||
x_126 = lean_box(x_125);
|
||||
lean_ctor_set(x_121, 0, x_126);
|
||||
return x_121;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_122;
|
||||
lean_dec(x_79);
|
||||
lean_dec(x_48);
|
||||
x_122 = lean_apply_4(x_1, x_47, x_78, x_4, x_5);
|
||||
if (lean_obj_tag(x_122) == 0)
|
||||
{
|
||||
uint8_t x_123;
|
||||
x_123 = !lean_is_exclusive(x_122);
|
||||
if (x_123 == 0)
|
||||
{
|
||||
lean_object* x_124; uint8_t x_125; uint8_t x_126; lean_object* x_127;
|
||||
x_124 = lean_ctor_get(x_122, 0);
|
||||
x_125 = lean_unbox(x_124);
|
||||
lean_dec(x_124);
|
||||
x_126 = l_Bool_toLBool(x_125);
|
||||
x_127 = lean_box(x_126);
|
||||
lean_ctor_set(x_122, 0, x_127);
|
||||
return x_122;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_128; lean_object* x_129; uint8_t x_130; uint8_t x_131; lean_object* x_132; lean_object* x_133;
|
||||
x_128 = lean_ctor_get(x_122, 0);
|
||||
x_129 = lean_ctor_get(x_122, 1);
|
||||
lean_inc(x_129);
|
||||
lean_object* x_127; lean_object* x_128; uint8_t x_129; uint8_t x_130; lean_object* x_131; lean_object* x_132;
|
||||
x_127 = lean_ctor_get(x_121, 0);
|
||||
x_128 = lean_ctor_get(x_121, 1);
|
||||
lean_inc(x_128);
|
||||
lean_dec(x_122);
|
||||
x_130 = lean_unbox(x_128);
|
||||
lean_dec(x_128);
|
||||
x_131 = l_Bool_toLBool(x_130);
|
||||
x_132 = lean_box(x_131);
|
||||
x_133 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_133, 0, x_132);
|
||||
lean_ctor_set(x_133, 1, x_129);
|
||||
return x_133;
|
||||
lean_inc(x_127);
|
||||
lean_dec(x_121);
|
||||
x_129 = lean_unbox(x_127);
|
||||
lean_dec(x_127);
|
||||
x_130 = l_Bool_toLBool(x_129);
|
||||
x_131 = lean_box(x_130);
|
||||
x_132 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_132, 0, x_131);
|
||||
lean_ctor_set(x_132, 1, x_128);
|
||||
return x_132;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_134;
|
||||
x_134 = !lean_is_exclusive(x_122);
|
||||
if (x_134 == 0)
|
||||
uint8_t x_133;
|
||||
x_133 = !lean_is_exclusive(x_121);
|
||||
if (x_133 == 0)
|
||||
{
|
||||
return x_122;
|
||||
return x_121;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_135; lean_object* x_136; lean_object* x_137;
|
||||
x_135 = lean_ctor_get(x_122, 0);
|
||||
x_136 = lean_ctor_get(x_122, 1);
|
||||
lean_inc(x_136);
|
||||
lean_object* x_134; lean_object* x_135; lean_object* x_136;
|
||||
x_134 = lean_ctor_get(x_121, 0);
|
||||
x_135 = lean_ctor_get(x_121, 1);
|
||||
lean_inc(x_135);
|
||||
lean_dec(x_122);
|
||||
x_137 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_137, 0, x_135);
|
||||
lean_ctor_set(x_137, 1, x_136);
|
||||
return x_137;
|
||||
lean_inc(x_134);
|
||||
lean_dec(x_121);
|
||||
x_136 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_136, 0, x_134);
|
||||
lean_ctor_set(x_136, 1, x_135);
|
||||
return x_136;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1926,23 +1920,6 @@ return x_137;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Meta_isDefEqOffset(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Meta_isDefEqOffset___rarg), 5, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Meta_isDefEqOffset___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Lean_Meta_isDefEqOffset(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init_Lean_LBool(lean_object*);
|
||||
lean_object* initialize_Init_Lean_Meta_InferType(lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
|
|
|
|||
12149
stage0/library/Init/Lean/Meta/WHNF.c
generated
12149
stage0/library/Init/Lean/Meta/WHNF.c
generated
File diff suppressed because it is too large
Load diff
14
stage0/src/shell/CMakeLists.txt
generated
14
stage0/src/shell/CMakeLists.txt
generated
|
|
@ -14,7 +14,7 @@ if(NOT STAGE0)
|
|||
# '-G Ninja' complains otherwise
|
||||
BYPRODUCTS "${CMAKE_BINARY_DIR}/stage1/libleanstdlib.a"
|
||||
WORKING_DIRECTORY "${LEAN_SOURCE_DIR}/../library"
|
||||
COMMAND ${CMAKE_COMMAND} -E env "LEAN_PATH=." $(MAKE) "${CMAKE_BINARY_DIR}/stage1/libleanstdlib.a" "LEAN=$<TARGET_FILE:lean_stage0>" "LEANC_OPTS=${LEANC_OPTS}" "STAGE1_OUT=${CMAKE_BINARY_DIR}/stage1"
|
||||
COMMAND ${CMAKE_COMMAND} -E env "LEAN_PATH=Init=Init" $(MAKE) "${CMAKE_BINARY_DIR}/stage1/libleanstdlib.a" "LEAN=$<TARGET_FILE:lean_stage0>" "LEANC_OPTS=${LEANC_OPTS}" "STAGE1_OUT=${CMAKE_BINARY_DIR}/stage1"
|
||||
DEPENDS stage0)
|
||||
set_target_properties(leanstdlib PROPERTIES
|
||||
IMPORTED_LOCATION "${CMAKE_BINARY_DIR}/stage1/libleanstdlib.a"
|
||||
|
|
@ -245,15 +245,11 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
|
|||
# Skip stdlib tests on Windows
|
||||
message(STATUS "skipping stdlib tests")
|
||||
else()
|
||||
file(GLOB_RECURSE STDLIBFILES "${LEAN_SOURCE_DIR}/../library/*.lean")
|
||||
set(STDIDX 0)
|
||||
file(GLOB_RECURSE STDLIBFILES RELATIVE "${LEAN_SOURCE_DIR}/../library" "${LEAN_SOURCE_DIR}/../library/*.lean")
|
||||
FOREACH(T ${STDLIBFILES})
|
||||
GET_FILENAME_COMPONENT(T_NAME ${T} NAME)
|
||||
GET_FILENAME_COMPONENT(T_DIR ${T} DIRECTORY)
|
||||
MATH(EXPR STDIDX "${STDIDX}+1")
|
||||
add_test(NAME "stdlib_${STDIDX}"
|
||||
WORKING_DIRECTORY "${T_DIR}"
|
||||
COMMAND "${LEAN_SOURCE_DIR}/../bin/lean" ${T_NAME})
|
||||
add_test(NAME "stdlib_${T}"
|
||||
WORKING_DIRECTORY "${LEAN_SOURCE_DIR}/../library"
|
||||
COMMAND "${LEAN_SOURCE_DIR}/../bin/lean" "${T}")
|
||||
ENDFOREACH(T)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue