chore: update stage0
This commit is contained in:
parent
f3f00451c8
commit
734ea3071d
5 changed files with 9788 additions and 6064 deletions
11
stage0/stdlib/Init/Notation.c
generated
11
stage0/stdlib/Init/Notation.c
generated
|
|
@ -1092,6 +1092,7 @@ static lean_object* l___aux__Init__Notation______macroRules__term___x5e_x5e_x5e_
|
|||
static lean_object* l_termWithout__expected__type_____closed__3;
|
||||
static lean_object* l_stx___x2c_x2a_x2c_x3f___closed__1;
|
||||
static lean_object* l_term___u2209_____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Category_structInstFieldDecl;
|
||||
static lean_object* l_term_x7b___x3a___x2f_x2f___x7d___closed__13;
|
||||
static lean_object* l___aux__Init__Notation______macroRules__stx___x3f__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_instCoeOutTSyntaxSyntax(lean_object*);
|
||||
|
|
@ -1706,6 +1707,14 @@ x_1 = lean_box(0);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Category_structInstFieldDecl() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_box(0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Category_level() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -26711,6 +26720,8 @@ l_Lean_Parser_Category_tactic = _init_l_Lean_Parser_Category_tactic();
|
|||
lean_mark_persistent(l_Lean_Parser_Category_tactic);
|
||||
l_Lean_Parser_Category_doElem = _init_l_Lean_Parser_Category_doElem();
|
||||
lean_mark_persistent(l_Lean_Parser_Category_doElem);
|
||||
l_Lean_Parser_Category_structInstFieldDecl = _init_l_Lean_Parser_Category_structInstFieldDecl();
|
||||
lean_mark_persistent(l_Lean_Parser_Category_structInstFieldDecl);
|
||||
l_Lean_Parser_Category_level = _init_l_Lean_Parser_Category_level();
|
||||
lean_mark_persistent(l_Lean_Parser_Category_level);
|
||||
l_Lean_Parser_Category_attr = _init_l_Lean_Parser_Category_attr();
|
||||
|
|
|
|||
747
stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c
generated
747
stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c
generated
|
|
@ -53,6 +53,7 @@ LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Meta_Simp_disch
|
|||
lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Meta_Simp_discharge_x3f_x27___spec__3___boxed(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_Simp_sevalGround___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_useImplicitDefEqProof___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__6;
|
||||
static lean_object* l_Lean_Meta_Simp_mkDefaultMethodsCore___closed__1;
|
||||
static lean_object* l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f___closed__3;
|
||||
|
|
@ -373,6 +374,7 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Meta_ppOrigin___at_Lean_Meta_Simp_discharge_x3f_x27___spec__1___closed__8;
|
||||
lean_object* l_Lean_Meta_Simp_recordTheoremWithBadKeys(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Simp_simpUsingDecide___lambda__1___closed__12;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_useImplicitDefEqProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Simp_mkContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_isArrow(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Simp_sevalGround___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -9373,6 +9375,71 @@ lean_dec(x_3);
|
|||
return x_12;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_useImplicitDefEqProof(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_10;
|
||||
x_10 = lean_ctor_get_uint8(x_1, sizeof(void*)*5 + 2);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
uint8_t x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_11 = 0;
|
||||
x_12 = lean_box(x_11);
|
||||
x_13 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_12);
|
||||
lean_ctor_set(x_13, 1, x_9);
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; uint8_t x_15;
|
||||
x_14 = l_Lean_Meta_Simp_getConfig___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
x_15 = !lean_is_exclusive(x_14);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_object* x_16; uint8_t x_17; lean_object* x_18;
|
||||
x_16 = lean_ctor_get(x_14, 0);
|
||||
x_17 = lean_ctor_get_uint8(x_16, sizeof(void*)*2 + 18);
|
||||
lean_dec(x_16);
|
||||
x_18 = lean_box(x_17);
|
||||
lean_ctor_set(x_14, 0, x_18);
|
||||
return x_14;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23;
|
||||
x_19 = lean_ctor_get(x_14, 0);
|
||||
x_20 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_20);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_14);
|
||||
x_21 = lean_ctor_get_uint8(x_19, sizeof(void*)*2 + 18);
|
||||
lean_dec(x_19);
|
||||
x_22 = lean_box(x_21);
|
||||
x_23 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_22);
|
||||
lean_ctor_set(x_23, 1, x_20);
|
||||
return x_23;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_useImplicitDefEqProof___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_10;
|
||||
x_10 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_useImplicitDefEqProof(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_ppSimpTheorem___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -12412,25 +12479,32 @@ return x_2;
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_16;
|
||||
x_16 = lean_ctor_get_uint8(x_4, sizeof(void*)*5 + 2);
|
||||
if (x_16 == 0)
|
||||
lean_object* x_16; lean_object* x_17; uint8_t x_18;
|
||||
x_16 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_useImplicitDefEqProof(x_1, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
x_17 = lean_ctor_get(x_16, 0);
|
||||
lean_inc(x_17);
|
||||
x_18 = lean_unbox(x_17);
|
||||
lean_dec(x_17);
|
||||
if (x_18 == 0)
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20;
|
||||
lean_inc(x_4);
|
||||
x_17 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__5), 13, 4);
|
||||
lean_closure_set(x_17, 0, x_1);
|
||||
lean_closure_set(x_17, 1, x_2);
|
||||
lean_closure_set(x_17, 2, x_3);
|
||||
lean_closure_set(x_17, 3, x_4);
|
||||
x_18 = l_Lean_mkAppN(x_5, x_6);
|
||||
x_19 = l_Lean_instantiateMVars___at_Lean_Meta_Simp_synthesizeArgs___spec__1(x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
x_20 = !lean_is_exclusive(x_19);
|
||||
if (x_20 == 0)
|
||||
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23;
|
||||
x_19 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_16);
|
||||
lean_inc(x_1);
|
||||
x_20 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__5), 13, 4);
|
||||
lean_closure_set(x_20, 0, x_2);
|
||||
lean_closure_set(x_20, 1, x_3);
|
||||
lean_closure_set(x_20, 2, x_4);
|
||||
lean_closure_set(x_20, 3, x_1);
|
||||
x_21 = l_Lean_mkAppN(x_5, x_6);
|
||||
x_22 = l_Lean_instantiateMVars___at_Lean_Meta_Simp_synthesizeArgs___spec__1(x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_19);
|
||||
x_23 = !lean_is_exclusive(x_22);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
x_21 = lean_ctor_get(x_19, 0);
|
||||
x_22 = lean_ctor_get(x_19, 1);
|
||||
lean_object* x_24; lean_object* x_25; lean_object* x_26;
|
||||
x_24 = lean_ctor_get(x_22, 0);
|
||||
x_25 = lean_ctor_get(x_22, 1);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
|
|
@ -12438,89 +12512,89 @@ lean_inc(x_11);
|
|||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
x_23 = l_Lean_hasAssignableMVar___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__2(x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_22);
|
||||
if (lean_obj_tag(x_23) == 0)
|
||||
x_26 = l_Lean_hasAssignableMVar___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__2(x_24, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_25);
|
||||
if (lean_obj_tag(x_26) == 0)
|
||||
{
|
||||
lean_object* x_24; uint8_t x_25;
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc(x_24);
|
||||
x_25 = lean_unbox(x_24);
|
||||
lean_dec(x_24);
|
||||
if (x_25 == 0)
|
||||
lean_object* x_27; uint8_t x_28;
|
||||
x_27 = lean_ctor_get(x_26, 0);
|
||||
lean_inc(x_27);
|
||||
x_28 = lean_unbox(x_27);
|
||||
lean_dec(x_27);
|
||||
if (x_28 == 0)
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28;
|
||||
lean_free_object(x_19);
|
||||
lean_dec(x_4);
|
||||
x_26 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_23);
|
||||
x_27 = lean_box(0);
|
||||
x_28 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__6(x_21, x_17, x_27, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_26);
|
||||
return x_28;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32;
|
||||
lean_dec(x_21);
|
||||
lean_dec(x_17);
|
||||
x_29 = lean_ctor_get(x_23, 1);
|
||||
lean_object* x_29; lean_object* x_30; lean_object* x_31;
|
||||
lean_free_object(x_22);
|
||||
lean_dec(x_1);
|
||||
x_29 = lean_ctor_get(x_26, 1);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_23);
|
||||
x_30 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__3___closed__2;
|
||||
x_31 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_congrArgs___spec__1(x_30, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_29);
|
||||
x_32 = !lean_is_exclusive(x_31);
|
||||
if (x_32 == 0)
|
||||
{
|
||||
lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36;
|
||||
x_33 = lean_ctor_get(x_31, 0);
|
||||
x_34 = lean_ctor_get(x_31, 1);
|
||||
x_35 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__4___closed__1;
|
||||
x_36 = lean_unbox(x_33);
|
||||
lean_dec(x_33);
|
||||
if (x_36 == 0)
|
||||
{
|
||||
lean_object* x_37; lean_object* x_38;
|
||||
lean_free_object(x_31);
|
||||
lean_free_object(x_19);
|
||||
lean_dec(x_4);
|
||||
x_37 = lean_box(0);
|
||||
x_38 = lean_apply_9(x_35, x_37, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_34);
|
||||
return x_38;
|
||||
lean_dec(x_26);
|
||||
x_30 = lean_box(0);
|
||||
x_31 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__6(x_24, x_20, x_30, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_29);
|
||||
return x_31;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_39;
|
||||
x_39 = l_Lean_Meta_ppSimpTheorem___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__1(x_4, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_34);
|
||||
if (lean_obj_tag(x_39) == 0)
|
||||
lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35;
|
||||
lean_dec(x_24);
|
||||
lean_dec(x_20);
|
||||
x_32 = lean_ctor_get(x_26, 1);
|
||||
lean_inc(x_32);
|
||||
lean_dec(x_26);
|
||||
x_33 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__3___closed__2;
|
||||
x_34 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_congrArgs___spec__1(x_33, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_32);
|
||||
x_35 = !lean_is_exclusive(x_34);
|
||||
if (x_35 == 0)
|
||||
{
|
||||
lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47;
|
||||
x_40 = lean_ctor_get(x_39, 0);
|
||||
lean_inc(x_40);
|
||||
x_41 = lean_ctor_get(x_39, 1);
|
||||
lean_inc(x_41);
|
||||
lean_dec(x_39);
|
||||
x_42 = l_Lean_Meta_ppOrigin___at_Lean_Meta_Simp_discharge_x3f_x27___spec__1___closed__4;
|
||||
lean_ctor_set_tag(x_31, 7);
|
||||
lean_ctor_set(x_31, 1, x_40);
|
||||
lean_ctor_set(x_31, 0, x_42);
|
||||
x_43 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__7___closed__2;
|
||||
lean_ctor_set_tag(x_19, 7);
|
||||
lean_ctor_set(x_19, 1, x_43);
|
||||
lean_ctor_set(x_19, 0, x_31);
|
||||
x_44 = l_Lean_addTrace___at_Lean_Meta_Simp_congrArgs___spec__2(x_30, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_41);
|
||||
x_45 = lean_ctor_get(x_44, 0);
|
||||
lean_inc(x_45);
|
||||
x_46 = lean_ctor_get(x_44, 1);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_44);
|
||||
x_47 = lean_apply_9(x_35, x_45, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_46);
|
||||
return x_47;
|
||||
lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39;
|
||||
x_36 = lean_ctor_get(x_34, 0);
|
||||
x_37 = lean_ctor_get(x_34, 1);
|
||||
x_38 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__4___closed__1;
|
||||
x_39 = lean_unbox(x_36);
|
||||
lean_dec(x_36);
|
||||
if (x_39 == 0)
|
||||
{
|
||||
lean_object* x_40; lean_object* x_41;
|
||||
lean_free_object(x_34);
|
||||
lean_free_object(x_22);
|
||||
lean_dec(x_1);
|
||||
x_40 = lean_box(0);
|
||||
x_41 = lean_apply_9(x_38, x_40, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_37);
|
||||
return x_41;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_48;
|
||||
lean_free_object(x_31);
|
||||
lean_free_object(x_19);
|
||||
lean_object* x_42;
|
||||
x_42 = l_Lean_Meta_ppSimpTheorem___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__1(x_1, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_37);
|
||||
if (lean_obj_tag(x_42) == 0)
|
||||
{
|
||||
lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50;
|
||||
x_43 = lean_ctor_get(x_42, 0);
|
||||
lean_inc(x_43);
|
||||
x_44 = lean_ctor_get(x_42, 1);
|
||||
lean_inc(x_44);
|
||||
lean_dec(x_42);
|
||||
x_45 = l_Lean_Meta_ppOrigin___at_Lean_Meta_Simp_discharge_x3f_x27___spec__1___closed__4;
|
||||
lean_ctor_set_tag(x_34, 7);
|
||||
lean_ctor_set(x_34, 1, x_43);
|
||||
lean_ctor_set(x_34, 0, x_45);
|
||||
x_46 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__7___closed__2;
|
||||
lean_ctor_set_tag(x_22, 7);
|
||||
lean_ctor_set(x_22, 1, x_46);
|
||||
lean_ctor_set(x_22, 0, x_34);
|
||||
x_47 = l_Lean_addTrace___at_Lean_Meta_Simp_congrArgs___spec__2(x_33, x_22, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_44);
|
||||
x_48 = lean_ctor_get(x_47, 0);
|
||||
lean_inc(x_48);
|
||||
x_49 = lean_ctor_get(x_47, 1);
|
||||
lean_inc(x_49);
|
||||
lean_dec(x_47);
|
||||
x_50 = lean_apply_9(x_38, x_48, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_49);
|
||||
return x_50;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_51;
|
||||
lean_free_object(x_34);
|
||||
lean_free_object(x_22);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
|
|
@ -12528,118 +12602,80 @@ lean_dec(x_11);
|
|||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
x_48 = !lean_is_exclusive(x_39);
|
||||
if (x_48 == 0)
|
||||
x_51 = !lean_is_exclusive(x_42);
|
||||
if (x_51 == 0)
|
||||
{
|
||||
return x_39;
|
||||
return x_42;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_49; lean_object* x_50; lean_object* x_51;
|
||||
x_49 = lean_ctor_get(x_39, 0);
|
||||
x_50 = lean_ctor_get(x_39, 1);
|
||||
lean_inc(x_50);
|
||||
lean_inc(x_49);
|
||||
lean_dec(x_39);
|
||||
x_51 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_51, 0, x_49);
|
||||
lean_ctor_set(x_51, 1, x_50);
|
||||
return x_51;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55;
|
||||
x_52 = lean_ctor_get(x_31, 0);
|
||||
x_53 = lean_ctor_get(x_31, 1);
|
||||
lean_object* x_52; lean_object* x_53; lean_object* x_54;
|
||||
x_52 = lean_ctor_get(x_42, 0);
|
||||
x_53 = lean_ctor_get(x_42, 1);
|
||||
lean_inc(x_53);
|
||||
lean_inc(x_52);
|
||||
lean_dec(x_31);
|
||||
x_54 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__4___closed__1;
|
||||
x_55 = lean_unbox(x_52);
|
||||
lean_dec(x_52);
|
||||
if (x_55 == 0)
|
||||
{
|
||||
lean_object* x_56; lean_object* x_57;
|
||||
lean_free_object(x_19);
|
||||
lean_dec(x_4);
|
||||
x_56 = lean_box(0);
|
||||
x_57 = lean_apply_9(x_54, x_56, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_53);
|
||||
return x_57;
|
||||
lean_dec(x_42);
|
||||
x_54 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_54, 0, x_52);
|
||||
lean_ctor_set(x_54, 1, x_53);
|
||||
return x_54;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_58;
|
||||
x_58 = l_Lean_Meta_ppSimpTheorem___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__1(x_4, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_53);
|
||||
if (lean_obj_tag(x_58) == 0)
|
||||
lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58;
|
||||
x_55 = lean_ctor_get(x_34, 0);
|
||||
x_56 = lean_ctor_get(x_34, 1);
|
||||
lean_inc(x_56);
|
||||
lean_inc(x_55);
|
||||
lean_dec(x_34);
|
||||
x_57 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__4___closed__1;
|
||||
x_58 = lean_unbox(x_55);
|
||||
lean_dec(x_55);
|
||||
if (x_58 == 0)
|
||||
{
|
||||
lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67;
|
||||
x_59 = lean_ctor_get(x_58, 0);
|
||||
lean_inc(x_59);
|
||||
x_60 = lean_ctor_get(x_58, 1);
|
||||
lean_inc(x_60);
|
||||
lean_dec(x_58);
|
||||
x_61 = l_Lean_Meta_ppOrigin___at_Lean_Meta_Simp_discharge_x3f_x27___spec__1___closed__4;
|
||||
x_62 = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(x_62, 0, x_61);
|
||||
lean_ctor_set(x_62, 1, x_59);
|
||||
x_63 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__7___closed__2;
|
||||
lean_ctor_set_tag(x_19, 7);
|
||||
lean_ctor_set(x_19, 1, x_63);
|
||||
lean_ctor_set(x_19, 0, x_62);
|
||||
x_64 = l_Lean_addTrace___at_Lean_Meta_Simp_congrArgs___spec__2(x_30, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_60);
|
||||
x_65 = lean_ctor_get(x_64, 0);
|
||||
lean_inc(x_65);
|
||||
x_66 = lean_ctor_get(x_64, 1);
|
||||
lean_inc(x_66);
|
||||
lean_dec(x_64);
|
||||
x_67 = lean_apply_9(x_54, x_65, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_66);
|
||||
return x_67;
|
||||
lean_object* x_59; lean_object* x_60;
|
||||
lean_free_object(x_22);
|
||||
lean_dec(x_1);
|
||||
x_59 = lean_box(0);
|
||||
x_60 = lean_apply_9(x_57, x_59, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_56);
|
||||
return x_60;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71;
|
||||
lean_free_object(x_19);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
x_68 = lean_ctor_get(x_58, 0);
|
||||
lean_object* x_61;
|
||||
x_61 = l_Lean_Meta_ppSimpTheorem___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__1(x_1, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_56);
|
||||
if (lean_obj_tag(x_61) == 0)
|
||||
{
|
||||
lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70;
|
||||
x_62 = lean_ctor_get(x_61, 0);
|
||||
lean_inc(x_62);
|
||||
x_63 = lean_ctor_get(x_61, 1);
|
||||
lean_inc(x_63);
|
||||
lean_dec(x_61);
|
||||
x_64 = l_Lean_Meta_ppOrigin___at_Lean_Meta_Simp_discharge_x3f_x27___spec__1___closed__4;
|
||||
x_65 = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(x_65, 0, x_64);
|
||||
lean_ctor_set(x_65, 1, x_62);
|
||||
x_66 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__7___closed__2;
|
||||
lean_ctor_set_tag(x_22, 7);
|
||||
lean_ctor_set(x_22, 1, x_66);
|
||||
lean_ctor_set(x_22, 0, x_65);
|
||||
x_67 = l_Lean_addTrace___at_Lean_Meta_Simp_congrArgs___spec__2(x_33, x_22, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_63);
|
||||
x_68 = lean_ctor_get(x_67, 0);
|
||||
lean_inc(x_68);
|
||||
x_69 = lean_ctor_get(x_58, 1);
|
||||
x_69 = lean_ctor_get(x_67, 1);
|
||||
lean_inc(x_69);
|
||||
if (lean_is_exclusive(x_58)) {
|
||||
lean_ctor_release(x_58, 0);
|
||||
lean_ctor_release(x_58, 1);
|
||||
x_70 = x_58;
|
||||
} else {
|
||||
lean_dec_ref(x_58);
|
||||
x_70 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_70)) {
|
||||
x_71 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_71 = x_70;
|
||||
}
|
||||
lean_ctor_set(x_71, 0, x_68);
|
||||
lean_ctor_set(x_71, 1, x_69);
|
||||
return x_71;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_dec(x_67);
|
||||
x_70 = lean_apply_9(x_57, x_68, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_69);
|
||||
return x_70;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_72;
|
||||
lean_free_object(x_19);
|
||||
lean_dec(x_21);
|
||||
lean_dec(x_17);
|
||||
lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74;
|
||||
lean_free_object(x_22);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
|
|
@ -12647,35 +12683,73 @@ lean_dec(x_11);
|
|||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_4);
|
||||
x_72 = !lean_is_exclusive(x_23);
|
||||
if (x_72 == 0)
|
||||
{
|
||||
return x_23;
|
||||
x_71 = lean_ctor_get(x_61, 0);
|
||||
lean_inc(x_71);
|
||||
x_72 = lean_ctor_get(x_61, 1);
|
||||
lean_inc(x_72);
|
||||
if (lean_is_exclusive(x_61)) {
|
||||
lean_ctor_release(x_61, 0);
|
||||
lean_ctor_release(x_61, 1);
|
||||
x_73 = x_61;
|
||||
} else {
|
||||
lean_dec_ref(x_61);
|
||||
x_73 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_73)) {
|
||||
x_74 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_74 = x_73;
|
||||
}
|
||||
lean_ctor_set(x_74, 0, x_71);
|
||||
lean_ctor_set(x_74, 1, x_72);
|
||||
return x_74;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_73; lean_object* x_74; lean_object* x_75;
|
||||
x_73 = lean_ctor_get(x_23, 0);
|
||||
x_74 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_74);
|
||||
lean_inc(x_73);
|
||||
lean_dec(x_23);
|
||||
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;
|
||||
}
|
||||
}
|
||||
uint8_t x_75;
|
||||
lean_free_object(x_22);
|
||||
lean_dec(x_24);
|
||||
lean_dec(x_20);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_1);
|
||||
x_75 = !lean_is_exclusive(x_26);
|
||||
if (x_75 == 0)
|
||||
{
|
||||
return x_26;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_76; lean_object* x_77; lean_object* x_78;
|
||||
x_76 = lean_ctor_get(x_19, 0);
|
||||
x_77 = lean_ctor_get(x_19, 1);
|
||||
x_76 = lean_ctor_get(x_26, 0);
|
||||
x_77 = lean_ctor_get(x_26, 1);
|
||||
lean_inc(x_77);
|
||||
lean_inc(x_76);
|
||||
lean_dec(x_19);
|
||||
lean_dec(x_26);
|
||||
x_78 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_78, 0, x_76);
|
||||
lean_ctor_set(x_78, 1, x_77);
|
||||
return x_78;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_79; lean_object* x_80; lean_object* x_81;
|
||||
x_79 = lean_ctor_get(x_22, 0);
|
||||
x_80 = lean_ctor_get(x_22, 1);
|
||||
lean_inc(x_80);
|
||||
lean_inc(x_79);
|
||||
lean_dec(x_22);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
|
|
@ -12683,133 +12757,97 @@ lean_inc(x_11);
|
|||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
x_78 = l_Lean_hasAssignableMVar___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__2(x_76, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_77);
|
||||
if (lean_obj_tag(x_78) == 0)
|
||||
x_81 = l_Lean_hasAssignableMVar___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__2(x_79, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_80);
|
||||
if (lean_obj_tag(x_81) == 0)
|
||||
{
|
||||
lean_object* x_79; uint8_t x_80;
|
||||
x_79 = lean_ctor_get(x_78, 0);
|
||||
lean_inc(x_79);
|
||||
x_80 = lean_unbox(x_79);
|
||||
lean_dec(x_79);
|
||||
if (x_80 == 0)
|
||||
lean_object* x_82; uint8_t x_83;
|
||||
x_82 = lean_ctor_get(x_81, 0);
|
||||
lean_inc(x_82);
|
||||
x_83 = lean_unbox(x_82);
|
||||
lean_dec(x_82);
|
||||
if (x_83 == 0)
|
||||
{
|
||||
lean_object* x_81; lean_object* x_82; lean_object* x_83;
|
||||
lean_dec(x_4);
|
||||
x_81 = lean_ctor_get(x_78, 1);
|
||||
lean_inc(x_81);
|
||||
lean_dec(x_78);
|
||||
x_82 = lean_box(0);
|
||||
x_83 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__6(x_76, x_17, x_82, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_81);
|
||||
return x_83;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91;
|
||||
lean_dec(x_76);
|
||||
lean_dec(x_17);
|
||||
x_84 = lean_ctor_get(x_78, 1);
|
||||
lean_object* x_84; lean_object* x_85; lean_object* x_86;
|
||||
lean_dec(x_1);
|
||||
x_84 = lean_ctor_get(x_81, 1);
|
||||
lean_inc(x_84);
|
||||
lean_dec(x_78);
|
||||
x_85 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__3___closed__2;
|
||||
x_86 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_congrArgs___spec__1(x_85, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_84);
|
||||
x_87 = lean_ctor_get(x_86, 0);
|
||||
lean_dec(x_81);
|
||||
x_85 = lean_box(0);
|
||||
x_86 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__6(x_79, x_20, x_85, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_84);
|
||||
return x_86;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94;
|
||||
lean_dec(x_79);
|
||||
lean_dec(x_20);
|
||||
x_87 = lean_ctor_get(x_81, 1);
|
||||
lean_inc(x_87);
|
||||
x_88 = lean_ctor_get(x_86, 1);
|
||||
lean_inc(x_88);
|
||||
if (lean_is_exclusive(x_86)) {
|
||||
lean_ctor_release(x_86, 0);
|
||||
lean_ctor_release(x_86, 1);
|
||||
x_89 = x_86;
|
||||
lean_dec(x_81);
|
||||
x_88 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__3___closed__2;
|
||||
x_89 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_congrArgs___spec__1(x_88, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_87);
|
||||
x_90 = lean_ctor_get(x_89, 0);
|
||||
lean_inc(x_90);
|
||||
x_91 = lean_ctor_get(x_89, 1);
|
||||
lean_inc(x_91);
|
||||
if (lean_is_exclusive(x_89)) {
|
||||
lean_ctor_release(x_89, 0);
|
||||
lean_ctor_release(x_89, 1);
|
||||
x_92 = x_89;
|
||||
} else {
|
||||
lean_dec_ref(x_86);
|
||||
x_89 = lean_box(0);
|
||||
lean_dec_ref(x_89);
|
||||
x_92 = lean_box(0);
|
||||
}
|
||||
x_90 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__4___closed__1;
|
||||
x_91 = lean_unbox(x_87);
|
||||
lean_dec(x_87);
|
||||
if (x_91 == 0)
|
||||
x_93 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__4___closed__1;
|
||||
x_94 = lean_unbox(x_90);
|
||||
lean_dec(x_90);
|
||||
if (x_94 == 0)
|
||||
{
|
||||
lean_object* x_92; lean_object* x_93;
|
||||
lean_dec(x_89);
|
||||
lean_dec(x_4);
|
||||
x_92 = lean_box(0);
|
||||
x_93 = lean_apply_9(x_90, x_92, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_88);
|
||||
return x_93;
|
||||
lean_object* x_95; lean_object* x_96;
|
||||
lean_dec(x_92);
|
||||
lean_dec(x_1);
|
||||
x_95 = lean_box(0);
|
||||
x_96 = lean_apply_9(x_93, x_95, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_91);
|
||||
return x_96;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_94;
|
||||
x_94 = l_Lean_Meta_ppSimpTheorem___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__1(x_4, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_88);
|
||||
if (lean_obj_tag(x_94) == 0)
|
||||
lean_object* x_97;
|
||||
x_97 = l_Lean_Meta_ppSimpTheorem___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__1(x_1, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_91);
|
||||
if (lean_obj_tag(x_97) == 0)
|
||||
{
|
||||
lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104;
|
||||
x_95 = lean_ctor_get(x_94, 0);
|
||||
lean_inc(x_95);
|
||||
x_96 = lean_ctor_get(x_94, 1);
|
||||
lean_inc(x_96);
|
||||
lean_dec(x_94);
|
||||
x_97 = l_Lean_Meta_ppOrigin___at_Lean_Meta_Simp_discharge_x3f_x27___spec__1___closed__4;
|
||||
if (lean_is_scalar(x_89)) {
|
||||
x_98 = lean_alloc_ctor(7, 2, 0);
|
||||
lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107;
|
||||
x_98 = lean_ctor_get(x_97, 0);
|
||||
lean_inc(x_98);
|
||||
x_99 = lean_ctor_get(x_97, 1);
|
||||
lean_inc(x_99);
|
||||
lean_dec(x_97);
|
||||
x_100 = l_Lean_Meta_ppOrigin___at_Lean_Meta_Simp_discharge_x3f_x27___spec__1___closed__4;
|
||||
if (lean_is_scalar(x_92)) {
|
||||
x_101 = lean_alloc_ctor(7, 2, 0);
|
||||
} else {
|
||||
x_98 = x_89;
|
||||
lean_ctor_set_tag(x_98, 7);
|
||||
x_101 = x_92;
|
||||
lean_ctor_set_tag(x_101, 7);
|
||||
}
|
||||
lean_ctor_set(x_98, 0, x_97);
|
||||
lean_ctor_set(x_98, 1, x_95);
|
||||
x_99 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__7___closed__2;
|
||||
x_100 = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(x_100, 0, x_98);
|
||||
lean_ctor_set(x_100, 1, x_99);
|
||||
x_101 = l_Lean_addTrace___at_Lean_Meta_Simp_congrArgs___spec__2(x_85, x_100, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_96);
|
||||
x_102 = lean_ctor_get(x_101, 0);
|
||||
lean_inc(x_102);
|
||||
x_103 = lean_ctor_get(x_101, 1);
|
||||
lean_inc(x_103);
|
||||
lean_dec(x_101);
|
||||
x_104 = lean_apply_9(x_90, x_102, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_103);
|
||||
return x_104;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108;
|
||||
lean_dec(x_89);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
x_105 = lean_ctor_get(x_94, 0);
|
||||
lean_ctor_set(x_101, 0, x_100);
|
||||
lean_ctor_set(x_101, 1, x_98);
|
||||
x_102 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__7___closed__2;
|
||||
x_103 = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(x_103, 0, x_101);
|
||||
lean_ctor_set(x_103, 1, x_102);
|
||||
x_104 = l_Lean_addTrace___at_Lean_Meta_Simp_congrArgs___spec__2(x_88, x_103, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_99);
|
||||
x_105 = lean_ctor_get(x_104, 0);
|
||||
lean_inc(x_105);
|
||||
x_106 = lean_ctor_get(x_94, 1);
|
||||
x_106 = lean_ctor_get(x_104, 1);
|
||||
lean_inc(x_106);
|
||||
if (lean_is_exclusive(x_94)) {
|
||||
lean_ctor_release(x_94, 0);
|
||||
lean_ctor_release(x_94, 1);
|
||||
x_107 = x_94;
|
||||
} else {
|
||||
lean_dec_ref(x_94);
|
||||
x_107 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_107)) {
|
||||
x_108 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_108 = x_107;
|
||||
}
|
||||
lean_ctor_set(x_108, 0, x_105);
|
||||
lean_ctor_set(x_108, 1, x_106);
|
||||
return x_108;
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_dec(x_104);
|
||||
x_107 = lean_apply_9(x_93, x_105, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_106);
|
||||
return x_107;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112;
|
||||
lean_dec(x_76);
|
||||
lean_dec(x_17);
|
||||
lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111;
|
||||
lean_dec(x_92);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
|
|
@ -12817,37 +12855,76 @@ lean_dec(x_11);
|
|||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_4);
|
||||
x_109 = lean_ctor_get(x_78, 0);
|
||||
x_108 = lean_ctor_get(x_97, 0);
|
||||
lean_inc(x_108);
|
||||
x_109 = lean_ctor_get(x_97, 1);
|
||||
lean_inc(x_109);
|
||||
x_110 = lean_ctor_get(x_78, 1);
|
||||
lean_inc(x_110);
|
||||
if (lean_is_exclusive(x_78)) {
|
||||
lean_ctor_release(x_78, 0);
|
||||
lean_ctor_release(x_78, 1);
|
||||
x_111 = x_78;
|
||||
if (lean_is_exclusive(x_97)) {
|
||||
lean_ctor_release(x_97, 0);
|
||||
lean_ctor_release(x_97, 1);
|
||||
x_110 = x_97;
|
||||
} else {
|
||||
lean_dec_ref(x_78);
|
||||
x_111 = lean_box(0);
|
||||
lean_dec_ref(x_97);
|
||||
x_110 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_111)) {
|
||||
x_112 = lean_alloc_ctor(1, 2, 0);
|
||||
if (lean_is_scalar(x_110)) {
|
||||
x_111 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_112 = x_111;
|
||||
x_111 = x_110;
|
||||
}
|
||||
lean_ctor_set(x_111, 0, x_108);
|
||||
lean_ctor_set(x_111, 1, x_109);
|
||||
return x_111;
|
||||
}
|
||||
lean_ctor_set(x_112, 0, x_109);
|
||||
lean_ctor_set(x_112, 1, x_110);
|
||||
return x_112;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_113; lean_object* x_114;
|
||||
lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115;
|
||||
lean_dec(x_79);
|
||||
lean_dec(x_20);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_1);
|
||||
x_112 = lean_ctor_get(x_81, 0);
|
||||
lean_inc(x_112);
|
||||
x_113 = lean_ctor_get(x_81, 1);
|
||||
lean_inc(x_113);
|
||||
if (lean_is_exclusive(x_81)) {
|
||||
lean_ctor_release(x_81, 0);
|
||||
lean_ctor_release(x_81, 1);
|
||||
x_114 = x_81;
|
||||
} else {
|
||||
lean_dec_ref(x_81);
|
||||
x_114 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_114)) {
|
||||
x_115 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_115 = x_114;
|
||||
}
|
||||
lean_ctor_set(x_115, 0, x_112);
|
||||
lean_ctor_set(x_115, 1, x_113);
|
||||
return x_115;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_116; lean_object* x_117; lean_object* x_118;
|
||||
lean_dec(x_5);
|
||||
x_113 = lean_box(0);
|
||||
x_114 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__5(x_1, x_2, x_3, x_4, x_113, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
return x_114;
|
||||
x_116 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_116);
|
||||
lean_dec(x_16);
|
||||
x_117 = lean_box(0);
|
||||
x_118 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__5(x_2, x_3, x_4, x_1, x_117, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_116);
|
||||
return x_118;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13204,7 +13281,7 @@ x_89 = lean_ctor_get(x_80, 1);
|
|||
lean_inc(x_89);
|
||||
lean_dec(x_80);
|
||||
x_90 = lean_box(0);
|
||||
x_91 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__7(x_5, x_7, x_79, x_6, x_4, x_2, x_90, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_89);
|
||||
x_91 = l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__7(x_6, x_5, x_7, x_79, x_4, x_2, x_90, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_89);
|
||||
return x_91;
|
||||
}
|
||||
}
|
||||
|
|
@ -31360,7 +31437,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f___closed__4;
|
||||
x_2 = l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f___closed__5;
|
||||
x_3 = lean_unsigned_to_nat(556u);
|
||||
x_3 = lean_unsigned_to_nat(562u);
|
||||
x_4 = lean_unsigned_to_nat(2u);
|
||||
x_5 = l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
|
|||
6099
stage0/stdlib/Lean/Meta/Tactic/Split.c
generated
6099
stage0/stdlib/Lean/Meta/Tactic/Split.c
generated
File diff suppressed because it is too large
Load diff
8183
stage0/stdlib/Lean/Meta/Tactic/SplitIf.c
generated
8183
stage0/stdlib/Lean/Meta/Tactic/SplitIf.c
generated
File diff suppressed because it is too large
Load diff
812
stage0/stdlib/Lean/Parser/Term.c
generated
812
stage0/stdlib/Lean/Parser/Term.c
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue