chore: update stage0
This commit is contained in:
parent
168217b2bd
commit
da21ef4fe8
8 changed files with 9599 additions and 8031 deletions
|
|
@ -264,7 +264,6 @@ extern lean_object* l_Lean_Meta_Simp_builtinSEvalprocsRef;
|
|||
static lean_object* l___regBuiltin_Fin_reduceSub_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Fin___hyg_777____closed__13;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Fin_reduceMul_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Fin___hyg_740_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Fin_isValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Fin___hyg_1106_(lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Fin_reduceLT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Fin___hyg_901____closed__7;
|
||||
static lean_object* l___regBuiltin_Fin_reduceMod_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Fin___hyg_859____closed__2;
|
||||
|
|
@ -8765,18 +8764,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Fin_isValue_declare____x40_Lean_Meta_Tac
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_2 = l___regBuiltin_Fin_reduceAdd_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Fin___hyg_697____closed__1;
|
||||
x_3 = l___regBuiltin_Fin_isValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Fin___hyg_1102____closed__2;
|
||||
x_4 = 1;
|
||||
x_5 = l___regBuiltin_Fin_isValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Fin___hyg_1102____closed__10;
|
||||
x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Fin_isValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Fin___hyg_1106_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_2 = l___regBuiltin_Fin_reduceAdd_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Fin___hyg_699____closed__1;
|
||||
x_3 = l___regBuiltin_Fin_isValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Fin___hyg_1102____closed__2;
|
||||
x_4 = 1;
|
||||
|
|
@ -9225,9 +9212,6 @@ lean_dec_ref(res);
|
|||
}if (builtin) {res = l___regBuiltin_Fin_isValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Fin___hyg_1104_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}if (builtin) {res = l___regBuiltin_Fin_isValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Fin___hyg_1106_(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));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
1492
stage0/stdlib/Lean/Meta/Tactic/Simp/BuiltinSimprocs/Int.c
generated
1492
stage0/stdlib/Lean/Meta/Tactic/Simp/BuiltinSimprocs/Int.c
generated
File diff suppressed because it is too large
Load diff
|
|
@ -58,7 +58,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Nat_reducePow_declare____x40_Lean_Meta_T
|
|||
LEAN_EXPORT lean_object* l_Nat_isValue___lambda__2___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___regBuiltin_Nat_reduceAdd_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Nat___hyg_612_(lean_object*);
|
||||
static lean_object* l_Nat_reduceBinPred___lambda__1___closed__6;
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Nat_isValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Nat___hyg_1130_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Nat_reduceGT_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Nat___hyg_958_(lean_object*);
|
||||
static lean_object* l___regBuiltin_Nat_reduceDiv_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Nat___hyg_730____closed__3;
|
||||
static lean_object* l___regBuiltin_Nat_reduceMod_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Nat___hyg_770____closed__3;
|
||||
|
|
@ -8297,18 +8296,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Nat_isValue_declare____x40_Lean_Meta_Tac
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_2 = l___regBuiltin_Nat_reduceSucc_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Nat___hyg_572____closed__1;
|
||||
x_3 = l___regBuiltin_Nat_isValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Nat___hyg_1126____closed__2;
|
||||
x_4 = 1;
|
||||
x_5 = l___regBuiltin_Nat_isValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Nat___hyg_1126____closed__9;
|
||||
x_6 = l_Lean_Meta_Simp_addSimprocBuiltinAttrCore(x_2, x_3, x_4, x_5, x_1);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Nat_isValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Nat___hyg_1130_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_2 = l___regBuiltin_Nat_reduceSucc_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Nat___hyg_574____closed__1;
|
||||
x_3 = l___regBuiltin_Nat_isValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Nat___hyg_1126____closed__2;
|
||||
x_4 = 1;
|
||||
|
|
@ -8804,9 +8791,6 @@ lean_dec_ref(res);
|
|||
}if (builtin) {res = l___regBuiltin_Nat_isValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Nat___hyg_1128_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}if (builtin) {res = l___regBuiltin_Nat_isValue_declare____x40_Lean_Meta_Tactic_Simp_BuiltinSimprocs_Nat___hyg_1130_(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));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
7986
stage0/stdlib/Lean/Meta/Tactic/Simp/BuiltinSimprocs/UInt.c
generated
7986
stage0/stdlib/Lean/Meta/Tactic/Simp/BuiltinSimprocs/UInt.c
generated
File diff suppressed because one or more lines are too long
5165
stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c
generated
5165
stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c
generated
File diff suppressed because it is too large
Load diff
2110
stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c
generated
2110
stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c
generated
File diff suppressed because it is too large
Load diff
|
|
@ -49,7 +49,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__
|
|||
static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__16;
|
||||
uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_instReprSimpCongrTheorem___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getSimpCongrTheorems(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getSimpCongrTheorems(lean_object*);
|
||||
static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__4;
|
||||
static lean_object* l_Lean_Meta_mkSimpCongrTheorem___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_180____boxed(lean_object*, lean_object*);
|
||||
|
|
@ -92,7 +92,7 @@ static lean_object* l_Lean_Meta_SimpCongrTheorems_lemmas___default___closed__2;
|
|||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_180____spec__10___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getSimpCongrTheorems___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getSimpCongrTheorems___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_Meta_SimpCongrTheorems_get___spec__5(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Meta_mkSimpCongrTheorem_onlyMVarsAt___lambda__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__9;
|
||||
|
|
@ -10540,12 +10540,12 @@ return x_16;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getSimpCongrTheorems(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getSimpCongrTheorems(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Meta_getSimpCongrTheorems___rarg___boxed), 2, 0);
|
||||
return x_4;
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Meta_getSimpCongrTheorems___rarg___boxed), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getSimpCongrTheorems___rarg___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
|
|
@ -10557,15 +10557,13 @@ lean_dec(x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getSimpCongrTheorems___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getSimpCongrTheorems___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Meta_getSimpCongrTheorems(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_object* x_2;
|
||||
x_2 = l_Lean_Meta_getSimpCongrTheorems(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init(uint8_t builtin, lean_object*);
|
||||
|
|
|
|||
823
stage0/stdlib/Lean/Meta/Tactic/Simp/Types.c
generated
823
stage0/stdlib/Lean/Meta/Tactic/Simp/Types.c
generated
|
|
@ -2717,7 +2717,7 @@ return x_2;
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_withSimpTheorems___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18;
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22;
|
||||
x_11 = lean_st_ref_get(x_5, x_10);
|
||||
x_12 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_12);
|
||||
|
|
@ -2727,509 +2727,512 @@ lean_dec(x_11);
|
|||
x_14 = lean_ctor_get(x_12, 0);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_12);
|
||||
x_15 = lean_st_ref_take(x_5, x_13);
|
||||
x_15 = lean_st_ref_get(x_5, x_13);
|
||||
x_16 = lean_ctor_get(x_15, 0);
|
||||
lean_inc(x_16);
|
||||
x_17 = lean_ctor_get(x_15, 1);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_15);
|
||||
x_18 = !lean_is_exclusive(x_16);
|
||||
if (x_18 == 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, 0);
|
||||
x_18 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_16);
|
||||
x_19 = lean_st_ref_take(x_5, x_17);
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_19);
|
||||
x_20 = l_Lean_Meta_Simp_Context_congrTheorems___default___closed__1;
|
||||
lean_ctor_set(x_16, 0, x_20);
|
||||
x_21 = lean_st_ref_set(x_5, x_16, x_17);
|
||||
x_22 = lean_ctor_get(x_21, 1);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_21);
|
||||
x_23 = !lean_is_exclusive(x_4);
|
||||
if (x_23 == 0)
|
||||
x_22 = !lean_is_exclusive(x_20);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
lean_object* x_24; lean_object* x_25;
|
||||
x_24 = lean_ctor_get(x_4, 1);
|
||||
lean_dec(x_24);
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27;
|
||||
x_23 = lean_ctor_get(x_20, 0);
|
||||
lean_dec(x_23);
|
||||
x_24 = l_Lean_Meta_Simp_Context_congrTheorems___default___closed__1;
|
||||
lean_ctor_set(x_20, 0, x_24);
|
||||
x_25 = lean_st_ref_set(x_5, x_20, x_21);
|
||||
x_26 = lean_ctor_get(x_25, 1);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_25);
|
||||
x_27 = !lean_is_exclusive(x_4);
|
||||
if (x_27 == 0)
|
||||
{
|
||||
lean_object* x_28; lean_object* x_29;
|
||||
x_28 = lean_ctor_get(x_4, 1);
|
||||
lean_dec(x_28);
|
||||
lean_ctor_set(x_4, 1, x_1);
|
||||
lean_inc(x_5);
|
||||
x_25 = lean_apply_8(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22);
|
||||
if (lean_obj_tag(x_25) == 0)
|
||||
x_29 = lean_apply_8(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26);
|
||||
if (lean_obj_tag(x_29) == 0)
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31;
|
||||
x_26 = lean_ctor_get(x_25, 0);
|
||||
lean_inc(x_26);
|
||||
x_27 = lean_ctor_get(x_25, 1);
|
||||
lean_inc(x_27);
|
||||
lean_dec(x_25);
|
||||
x_28 = lean_st_ref_take(x_5, x_27);
|
||||
x_29 = lean_ctor_get(x_28, 0);
|
||||
lean_inc(x_29);
|
||||
x_30 = lean_ctor_get(x_28, 1);
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35;
|
||||
x_30 = lean_ctor_get(x_29, 0);
|
||||
lean_inc(x_30);
|
||||
lean_dec(x_28);
|
||||
x_31 = !lean_is_exclusive(x_29);
|
||||
if (x_31 == 0)
|
||||
{
|
||||
lean_object* x_32; lean_object* x_33; uint8_t x_34;
|
||||
x_32 = lean_ctor_get(x_29, 0);
|
||||
lean_dec(x_32);
|
||||
lean_ctor_set(x_29, 0, x_14);
|
||||
x_33 = lean_st_ref_set(x_5, x_29, x_30);
|
||||
lean_dec(x_5);
|
||||
x_34 = !lean_is_exclusive(x_33);
|
||||
if (x_34 == 0)
|
||||
{
|
||||
lean_object* x_35;
|
||||
x_35 = lean_ctor_get(x_33, 0);
|
||||
lean_dec(x_35);
|
||||
lean_ctor_set(x_33, 0, x_26);
|
||||
return x_33;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_36; lean_object* x_37;
|
||||
x_36 = lean_ctor_get(x_33, 1);
|
||||
lean_inc(x_36);
|
||||
lean_dec(x_33);
|
||||
x_37 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_26);
|
||||
lean_ctor_set(x_37, 1, x_36);
|
||||
return x_37;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_38; lean_object* x_39; 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;
|
||||
x_38 = lean_ctor_get(x_29, 1);
|
||||
x_39 = lean_ctor_get(x_29, 2);
|
||||
x_40 = lean_ctor_get(x_29, 3);
|
||||
x_41 = lean_ctor_get(x_29, 4);
|
||||
lean_inc(x_41);
|
||||
lean_inc(x_40);
|
||||
lean_inc(x_39);
|
||||
lean_inc(x_38);
|
||||
x_31 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_31);
|
||||
lean_dec(x_29);
|
||||
x_42 = lean_alloc_ctor(0, 5, 0);
|
||||
lean_ctor_set(x_42, 0, x_14);
|
||||
lean_ctor_set(x_42, 1, x_38);
|
||||
lean_ctor_set(x_42, 2, x_39);
|
||||
lean_ctor_set(x_42, 3, x_40);
|
||||
lean_ctor_set(x_42, 4, x_41);
|
||||
x_43 = lean_st_ref_set(x_5, x_42, x_30);
|
||||
x_32 = lean_st_ref_take(x_5, x_31);
|
||||
x_33 = lean_ctor_get(x_32, 0);
|
||||
lean_inc(x_33);
|
||||
x_34 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_34);
|
||||
lean_dec(x_32);
|
||||
x_35 = !lean_is_exclusive(x_33);
|
||||
if (x_35 == 0)
|
||||
{
|
||||
lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39;
|
||||
x_36 = lean_ctor_get(x_33, 1);
|
||||
lean_dec(x_36);
|
||||
x_37 = lean_ctor_get(x_33, 0);
|
||||
lean_dec(x_37);
|
||||
lean_ctor_set(x_33, 1, x_18);
|
||||
lean_ctor_set(x_33, 0, x_14);
|
||||
x_38 = lean_st_ref_set(x_5, x_33, x_34);
|
||||
lean_dec(x_5);
|
||||
x_44 = lean_ctor_get(x_43, 1);
|
||||
x_39 = !lean_is_exclusive(x_38);
|
||||
if (x_39 == 0)
|
||||
{
|
||||
lean_object* x_40;
|
||||
x_40 = lean_ctor_get(x_38, 0);
|
||||
lean_dec(x_40);
|
||||
lean_ctor_set(x_38, 0, x_30);
|
||||
return x_38;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_41; lean_object* x_42;
|
||||
x_41 = lean_ctor_get(x_38, 1);
|
||||
lean_inc(x_41);
|
||||
lean_dec(x_38);
|
||||
x_42 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_42, 0, x_30);
|
||||
lean_ctor_set(x_42, 1, x_41);
|
||||
return x_42;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
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_33, 2);
|
||||
x_44 = lean_ctor_get(x_33, 3);
|
||||
x_45 = lean_ctor_get(x_33, 4);
|
||||
lean_inc(x_45);
|
||||
lean_inc(x_44);
|
||||
if (lean_is_exclusive(x_43)) {
|
||||
lean_ctor_release(x_43, 0);
|
||||
lean_ctor_release(x_43, 1);
|
||||
x_45 = x_43;
|
||||
} else {
|
||||
lean_dec_ref(x_43);
|
||||
x_45 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_45)) {
|
||||
x_46 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_46 = x_45;
|
||||
}
|
||||
lean_ctor_set(x_46, 0, x_26);
|
||||
lean_ctor_set(x_46, 1, x_44);
|
||||
return x_46;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52;
|
||||
x_47 = lean_ctor_get(x_25, 0);
|
||||
lean_inc(x_47);
|
||||
x_48 = lean_ctor_get(x_25, 1);
|
||||
lean_inc(x_43);
|
||||
lean_dec(x_33);
|
||||
x_46 = lean_alloc_ctor(0, 5, 0);
|
||||
lean_ctor_set(x_46, 0, x_14);
|
||||
lean_ctor_set(x_46, 1, x_18);
|
||||
lean_ctor_set(x_46, 2, x_43);
|
||||
lean_ctor_set(x_46, 3, x_44);
|
||||
lean_ctor_set(x_46, 4, x_45);
|
||||
x_47 = lean_st_ref_set(x_5, x_46, x_34);
|
||||
lean_dec(x_5);
|
||||
x_48 = lean_ctor_get(x_47, 1);
|
||||
lean_inc(x_48);
|
||||
lean_dec(x_25);
|
||||
x_49 = lean_st_ref_take(x_5, x_48);
|
||||
x_50 = lean_ctor_get(x_49, 0);
|
||||
lean_inc(x_50);
|
||||
x_51 = lean_ctor_get(x_49, 1);
|
||||
if (lean_is_exclusive(x_47)) {
|
||||
lean_ctor_release(x_47, 0);
|
||||
lean_ctor_release(x_47, 1);
|
||||
x_49 = x_47;
|
||||
} else {
|
||||
lean_dec_ref(x_47);
|
||||
x_49 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_49)) {
|
||||
x_50 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_50 = x_49;
|
||||
}
|
||||
lean_ctor_set(x_50, 0, x_30);
|
||||
lean_ctor_set(x_50, 1, x_48);
|
||||
return x_50;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56;
|
||||
x_51 = lean_ctor_get(x_29, 0);
|
||||
lean_inc(x_51);
|
||||
lean_dec(x_49);
|
||||
x_52 = !lean_is_exclusive(x_50);
|
||||
if (x_52 == 0)
|
||||
{
|
||||
lean_object* x_53; lean_object* x_54; uint8_t x_55;
|
||||
x_53 = lean_ctor_get(x_50, 0);
|
||||
x_52 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_52);
|
||||
lean_dec(x_29);
|
||||
x_53 = lean_st_ref_take(x_5, x_52);
|
||||
x_54 = lean_ctor_get(x_53, 0);
|
||||
lean_inc(x_54);
|
||||
x_55 = lean_ctor_get(x_53, 1);
|
||||
lean_inc(x_55);
|
||||
lean_dec(x_53);
|
||||
lean_ctor_set(x_50, 0, x_14);
|
||||
x_54 = lean_st_ref_set(x_5, x_50, x_51);
|
||||
lean_dec(x_5);
|
||||
x_55 = !lean_is_exclusive(x_54);
|
||||
if (x_55 == 0)
|
||||
x_56 = !lean_is_exclusive(x_54);
|
||||
if (x_56 == 0)
|
||||
{
|
||||
lean_object* x_56;
|
||||
x_56 = lean_ctor_get(x_54, 0);
|
||||
lean_dec(x_56);
|
||||
lean_ctor_set_tag(x_54, 1);
|
||||
lean_ctor_set(x_54, 0, x_47);
|
||||
return x_54;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_57; lean_object* x_58;
|
||||
lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60;
|
||||
x_57 = lean_ctor_get(x_54, 1);
|
||||
lean_inc(x_57);
|
||||
lean_dec(x_54);
|
||||
x_58 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_58, 0, x_47);
|
||||
lean_ctor_set(x_58, 1, x_57);
|
||||
return x_58;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
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_50, 1);
|
||||
x_60 = lean_ctor_get(x_50, 2);
|
||||
x_61 = lean_ctor_get(x_50, 3);
|
||||
x_62 = lean_ctor_get(x_50, 4);
|
||||
lean_inc(x_62);
|
||||
lean_inc(x_61);
|
||||
lean_inc(x_60);
|
||||
lean_inc(x_59);
|
||||
lean_dec(x_50);
|
||||
x_63 = lean_alloc_ctor(0, 5, 0);
|
||||
lean_ctor_set(x_63, 0, x_14);
|
||||
lean_ctor_set(x_63, 1, x_59);
|
||||
lean_ctor_set(x_63, 2, x_60);
|
||||
lean_ctor_set(x_63, 3, x_61);
|
||||
lean_ctor_set(x_63, 4, x_62);
|
||||
x_64 = lean_st_ref_set(x_5, x_63, x_51);
|
||||
lean_dec(x_57);
|
||||
x_58 = lean_ctor_get(x_54, 0);
|
||||
lean_dec(x_58);
|
||||
lean_ctor_set(x_54, 1, x_18);
|
||||
lean_ctor_set(x_54, 0, x_14);
|
||||
x_59 = lean_st_ref_set(x_5, x_54, x_55);
|
||||
lean_dec(x_5);
|
||||
x_65 = lean_ctor_get(x_64, 1);
|
||||
x_60 = !lean_is_exclusive(x_59);
|
||||
if (x_60 == 0)
|
||||
{
|
||||
lean_object* x_61;
|
||||
x_61 = lean_ctor_get(x_59, 0);
|
||||
lean_dec(x_61);
|
||||
lean_ctor_set_tag(x_59, 1);
|
||||
lean_ctor_set(x_59, 0, x_51);
|
||||
return x_59;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_62; lean_object* x_63;
|
||||
x_62 = lean_ctor_get(x_59, 1);
|
||||
lean_inc(x_62);
|
||||
lean_dec(x_59);
|
||||
x_63 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_63, 0, x_51);
|
||||
lean_ctor_set(x_63, 1, x_62);
|
||||
return x_63;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
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; lean_object* x_71;
|
||||
x_64 = lean_ctor_get(x_54, 2);
|
||||
x_65 = lean_ctor_get(x_54, 3);
|
||||
x_66 = lean_ctor_get(x_54, 4);
|
||||
lean_inc(x_66);
|
||||
lean_inc(x_65);
|
||||
if (lean_is_exclusive(x_64)) {
|
||||
lean_ctor_release(x_64, 0);
|
||||
lean_ctor_release(x_64, 1);
|
||||
x_66 = x_64;
|
||||
lean_inc(x_64);
|
||||
lean_dec(x_54);
|
||||
x_67 = lean_alloc_ctor(0, 5, 0);
|
||||
lean_ctor_set(x_67, 0, x_14);
|
||||
lean_ctor_set(x_67, 1, x_18);
|
||||
lean_ctor_set(x_67, 2, x_64);
|
||||
lean_ctor_set(x_67, 3, x_65);
|
||||
lean_ctor_set(x_67, 4, x_66);
|
||||
x_68 = lean_st_ref_set(x_5, x_67, x_55);
|
||||
lean_dec(x_5);
|
||||
x_69 = lean_ctor_get(x_68, 1);
|
||||
lean_inc(x_69);
|
||||
if (lean_is_exclusive(x_68)) {
|
||||
lean_ctor_release(x_68, 0);
|
||||
lean_ctor_release(x_68, 1);
|
||||
x_70 = x_68;
|
||||
} else {
|
||||
lean_dec_ref(x_64);
|
||||
x_66 = lean_box(0);
|
||||
lean_dec_ref(x_68);
|
||||
x_70 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_66)) {
|
||||
x_67 = lean_alloc_ctor(1, 2, 0);
|
||||
if (lean_is_scalar(x_70)) {
|
||||
x_71 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_67 = x_66;
|
||||
lean_ctor_set_tag(x_67, 1);
|
||||
x_71 = x_70;
|
||||
lean_ctor_set_tag(x_71, 1);
|
||||
}
|
||||
lean_ctor_set(x_67, 0, x_47);
|
||||
lean_ctor_set(x_67, 1, x_65);
|
||||
return x_67;
|
||||
lean_ctor_set(x_71, 0, x_51);
|
||||
lean_ctor_set(x_71, 1, x_69);
|
||||
return x_71;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_68; uint8_t x_69; uint32_t x_70; lean_object* x_71; lean_object* x_72; uint32_t x_73; lean_object* x_74; lean_object* x_75;
|
||||
x_68 = lean_ctor_get(x_4, 0);
|
||||
x_69 = lean_ctor_get_uint8(x_4, sizeof(void*)*4 + 8);
|
||||
x_70 = lean_ctor_get_uint32(x_4, sizeof(void*)*4);
|
||||
x_71 = lean_ctor_get(x_4, 2);
|
||||
x_72 = lean_ctor_get(x_4, 3);
|
||||
x_73 = lean_ctor_get_uint32(x_4, sizeof(void*)*4 + 4);
|
||||
lean_inc(x_72);
|
||||
lean_inc(x_71);
|
||||
lean_inc(x_68);
|
||||
lean_dec(x_4);
|
||||
x_74 = lean_alloc_ctor(0, 4, 9);
|
||||
lean_ctor_set(x_74, 0, x_68);
|
||||
lean_ctor_set(x_74, 1, x_1);
|
||||
lean_ctor_set(x_74, 2, x_71);
|
||||
lean_ctor_set(x_74, 3, x_72);
|
||||
lean_ctor_set_uint8(x_74, sizeof(void*)*4 + 8, x_69);
|
||||
lean_ctor_set_uint32(x_74, sizeof(void*)*4, x_70);
|
||||
lean_ctor_set_uint32(x_74, sizeof(void*)*4 + 4, x_73);
|
||||
lean_inc(x_5);
|
||||
x_75 = lean_apply_8(x_2, x_3, x_74, x_5, x_6, x_7, x_8, x_9, x_22);
|
||||
if (lean_obj_tag(x_75) == 0)
|
||||
{
|
||||
lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90;
|
||||
x_76 = lean_ctor_get(x_75, 0);
|
||||
lean_object* x_72; uint8_t x_73; uint32_t x_74; lean_object* x_75; lean_object* x_76; uint32_t x_77; lean_object* x_78; lean_object* x_79;
|
||||
x_72 = lean_ctor_get(x_4, 0);
|
||||
x_73 = lean_ctor_get_uint8(x_4, sizeof(void*)*4 + 8);
|
||||
x_74 = lean_ctor_get_uint32(x_4, sizeof(void*)*4);
|
||||
x_75 = lean_ctor_get(x_4, 2);
|
||||
x_76 = lean_ctor_get(x_4, 3);
|
||||
x_77 = lean_ctor_get_uint32(x_4, sizeof(void*)*4 + 4);
|
||||
lean_inc(x_76);
|
||||
x_77 = lean_ctor_get(x_75, 1);
|
||||
lean_inc(x_77);
|
||||
lean_dec(x_75);
|
||||
x_78 = lean_st_ref_take(x_5, x_77);
|
||||
x_79 = lean_ctor_get(x_78, 0);
|
||||
lean_inc(x_79);
|
||||
x_80 = lean_ctor_get(x_78, 1);
|
||||
lean_inc(x_75);
|
||||
lean_inc(x_72);
|
||||
lean_dec(x_4);
|
||||
x_78 = lean_alloc_ctor(0, 4, 9);
|
||||
lean_ctor_set(x_78, 0, x_72);
|
||||
lean_ctor_set(x_78, 1, x_1);
|
||||
lean_ctor_set(x_78, 2, x_75);
|
||||
lean_ctor_set(x_78, 3, x_76);
|
||||
lean_ctor_set_uint8(x_78, sizeof(void*)*4 + 8, x_73);
|
||||
lean_ctor_set_uint32(x_78, sizeof(void*)*4, x_74);
|
||||
lean_ctor_set_uint32(x_78, sizeof(void*)*4 + 4, x_77);
|
||||
lean_inc(x_5);
|
||||
x_79 = lean_apply_8(x_2, x_3, x_78, x_5, x_6, x_7, x_8, x_9, x_26);
|
||||
if (lean_obj_tag(x_79) == 0)
|
||||
{
|
||||
lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93;
|
||||
x_80 = lean_ctor_get(x_79, 0);
|
||||
lean_inc(x_80);
|
||||
lean_dec(x_78);
|
||||
x_81 = lean_ctor_get(x_79, 1);
|
||||
lean_inc(x_81);
|
||||
x_82 = lean_ctor_get(x_79, 2);
|
||||
lean_inc(x_82);
|
||||
x_83 = lean_ctor_get(x_79, 3);
|
||||
lean_dec(x_79);
|
||||
x_82 = lean_st_ref_take(x_5, x_81);
|
||||
x_83 = lean_ctor_get(x_82, 0);
|
||||
lean_inc(x_83);
|
||||
x_84 = lean_ctor_get(x_79, 4);
|
||||
x_84 = lean_ctor_get(x_82, 1);
|
||||
lean_inc(x_84);
|
||||
if (lean_is_exclusive(x_79)) {
|
||||
lean_ctor_release(x_79, 0);
|
||||
lean_ctor_release(x_79, 1);
|
||||
lean_ctor_release(x_79, 2);
|
||||
lean_ctor_release(x_79, 3);
|
||||
lean_ctor_release(x_79, 4);
|
||||
x_85 = x_79;
|
||||
lean_dec(x_82);
|
||||
x_85 = lean_ctor_get(x_83, 2);
|
||||
lean_inc(x_85);
|
||||
x_86 = lean_ctor_get(x_83, 3);
|
||||
lean_inc(x_86);
|
||||
x_87 = lean_ctor_get(x_83, 4);
|
||||
lean_inc(x_87);
|
||||
if (lean_is_exclusive(x_83)) {
|
||||
lean_ctor_release(x_83, 0);
|
||||
lean_ctor_release(x_83, 1);
|
||||
lean_ctor_release(x_83, 2);
|
||||
lean_ctor_release(x_83, 3);
|
||||
lean_ctor_release(x_83, 4);
|
||||
x_88 = x_83;
|
||||
} else {
|
||||
lean_dec_ref(x_79);
|
||||
x_85 = lean_box(0);
|
||||
lean_dec_ref(x_83);
|
||||
x_88 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_85)) {
|
||||
x_86 = lean_alloc_ctor(0, 5, 0);
|
||||
if (lean_is_scalar(x_88)) {
|
||||
x_89 = lean_alloc_ctor(0, 5, 0);
|
||||
} else {
|
||||
x_86 = x_85;
|
||||
x_89 = x_88;
|
||||
}
|
||||
lean_ctor_set(x_86, 0, x_14);
|
||||
lean_ctor_set(x_86, 1, x_81);
|
||||
lean_ctor_set(x_86, 2, x_82);
|
||||
lean_ctor_set(x_86, 3, x_83);
|
||||
lean_ctor_set(x_86, 4, x_84);
|
||||
x_87 = lean_st_ref_set(x_5, x_86, x_80);
|
||||
lean_ctor_set(x_89, 0, x_14);
|
||||
lean_ctor_set(x_89, 1, x_18);
|
||||
lean_ctor_set(x_89, 2, x_85);
|
||||
lean_ctor_set(x_89, 3, x_86);
|
||||
lean_ctor_set(x_89, 4, x_87);
|
||||
x_90 = lean_st_ref_set(x_5, x_89, x_84);
|
||||
lean_dec(x_5);
|
||||
x_88 = lean_ctor_get(x_87, 1);
|
||||
lean_inc(x_88);
|
||||
if (lean_is_exclusive(x_87)) {
|
||||
lean_ctor_release(x_87, 0);
|
||||
lean_ctor_release(x_87, 1);
|
||||
x_89 = x_87;
|
||||
} else {
|
||||
lean_dec_ref(x_87);
|
||||
x_89 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_89)) {
|
||||
x_90 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_90 = x_89;
|
||||
}
|
||||
lean_ctor_set(x_90, 0, x_76);
|
||||
lean_ctor_set(x_90, 1, x_88);
|
||||
return x_90;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; 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; lean_object* x_105;
|
||||
x_91 = lean_ctor_get(x_75, 0);
|
||||
x_91 = lean_ctor_get(x_90, 1);
|
||||
lean_inc(x_91);
|
||||
x_92 = lean_ctor_get(x_75, 1);
|
||||
lean_inc(x_92);
|
||||
lean_dec(x_75);
|
||||
x_93 = lean_st_ref_take(x_5, x_92);
|
||||
x_94 = lean_ctor_get(x_93, 0);
|
||||
if (lean_is_exclusive(x_90)) {
|
||||
lean_ctor_release(x_90, 0);
|
||||
lean_ctor_release(x_90, 1);
|
||||
x_92 = x_90;
|
||||
} else {
|
||||
lean_dec_ref(x_90);
|
||||
x_92 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_92)) {
|
||||
x_93 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_93 = x_92;
|
||||
}
|
||||
lean_ctor_set(x_93, 0, x_80);
|
||||
lean_ctor_set(x_93, 1, x_91);
|
||||
return x_93;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_94; 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; lean_object* x_105; lean_object* x_106; lean_object* x_107;
|
||||
x_94 = lean_ctor_get(x_79, 0);
|
||||
lean_inc(x_94);
|
||||
x_95 = lean_ctor_get(x_93, 1);
|
||||
x_95 = lean_ctor_get(x_79, 1);
|
||||
lean_inc(x_95);
|
||||
lean_dec(x_93);
|
||||
x_96 = lean_ctor_get(x_94, 1);
|
||||
lean_inc(x_96);
|
||||
x_97 = lean_ctor_get(x_94, 2);
|
||||
lean_dec(x_79);
|
||||
x_96 = lean_st_ref_take(x_5, x_95);
|
||||
x_97 = lean_ctor_get(x_96, 0);
|
||||
lean_inc(x_97);
|
||||
x_98 = lean_ctor_get(x_94, 3);
|
||||
x_98 = lean_ctor_get(x_96, 1);
|
||||
lean_inc(x_98);
|
||||
x_99 = lean_ctor_get(x_94, 4);
|
||||
lean_dec(x_96);
|
||||
x_99 = lean_ctor_get(x_97, 2);
|
||||
lean_inc(x_99);
|
||||
if (lean_is_exclusive(x_94)) {
|
||||
lean_ctor_release(x_94, 0);
|
||||
lean_ctor_release(x_94, 1);
|
||||
lean_ctor_release(x_94, 2);
|
||||
lean_ctor_release(x_94, 3);
|
||||
lean_ctor_release(x_94, 4);
|
||||
x_100 = x_94;
|
||||
x_100 = lean_ctor_get(x_97, 3);
|
||||
lean_inc(x_100);
|
||||
x_101 = lean_ctor_get(x_97, 4);
|
||||
lean_inc(x_101);
|
||||
if (lean_is_exclusive(x_97)) {
|
||||
lean_ctor_release(x_97, 0);
|
||||
lean_ctor_release(x_97, 1);
|
||||
lean_ctor_release(x_97, 2);
|
||||
lean_ctor_release(x_97, 3);
|
||||
lean_ctor_release(x_97, 4);
|
||||
x_102 = x_97;
|
||||
} else {
|
||||
lean_dec_ref(x_94);
|
||||
x_100 = lean_box(0);
|
||||
lean_dec_ref(x_97);
|
||||
x_102 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_100)) {
|
||||
x_101 = lean_alloc_ctor(0, 5, 0);
|
||||
if (lean_is_scalar(x_102)) {
|
||||
x_103 = lean_alloc_ctor(0, 5, 0);
|
||||
} else {
|
||||
x_101 = x_100;
|
||||
x_103 = x_102;
|
||||
}
|
||||
lean_ctor_set(x_101, 0, x_14);
|
||||
lean_ctor_set(x_101, 1, x_96);
|
||||
lean_ctor_set(x_101, 2, x_97);
|
||||
lean_ctor_set(x_101, 3, x_98);
|
||||
lean_ctor_set(x_101, 4, x_99);
|
||||
x_102 = lean_st_ref_set(x_5, x_101, x_95);
|
||||
lean_ctor_set(x_103, 0, x_14);
|
||||
lean_ctor_set(x_103, 1, x_18);
|
||||
lean_ctor_set(x_103, 2, x_99);
|
||||
lean_ctor_set(x_103, 3, x_100);
|
||||
lean_ctor_set(x_103, 4, x_101);
|
||||
x_104 = lean_st_ref_set(x_5, x_103, x_98);
|
||||
lean_dec(x_5);
|
||||
x_103 = lean_ctor_get(x_102, 1);
|
||||
lean_inc(x_103);
|
||||
if (lean_is_exclusive(x_102)) {
|
||||
lean_ctor_release(x_102, 0);
|
||||
lean_ctor_release(x_102, 1);
|
||||
x_104 = x_102;
|
||||
x_105 = lean_ctor_get(x_104, 1);
|
||||
lean_inc(x_105);
|
||||
if (lean_is_exclusive(x_104)) {
|
||||
lean_ctor_release(x_104, 0);
|
||||
lean_ctor_release(x_104, 1);
|
||||
x_106 = x_104;
|
||||
} else {
|
||||
lean_dec_ref(x_102);
|
||||
x_104 = lean_box(0);
|
||||
lean_dec_ref(x_104);
|
||||
x_106 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_104)) {
|
||||
x_105 = lean_alloc_ctor(1, 2, 0);
|
||||
if (lean_is_scalar(x_106)) {
|
||||
x_107 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_105 = x_104;
|
||||
lean_ctor_set_tag(x_105, 1);
|
||||
x_107 = x_106;
|
||||
lean_ctor_set_tag(x_107, 1);
|
||||
}
|
||||
lean_ctor_set(x_105, 0, x_91);
|
||||
lean_ctor_set(x_105, 1, x_103);
|
||||
return x_105;
|
||||
lean_ctor_set(x_107, 0, x_94);
|
||||
lean_ctor_set(x_107, 1, x_105);
|
||||
return x_107;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; uint32_t x_116; lean_object* x_117; lean_object* x_118; uint32_t x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122;
|
||||
x_106 = lean_ctor_get(x_16, 1);
|
||||
x_107 = lean_ctor_get(x_16, 2);
|
||||
x_108 = lean_ctor_get(x_16, 3);
|
||||
x_109 = lean_ctor_get(x_16, 4);
|
||||
lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; uint32_t x_118; lean_object* x_119; lean_object* x_120; uint32_t x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124;
|
||||
x_108 = lean_ctor_get(x_20, 1);
|
||||
x_109 = lean_ctor_get(x_20, 2);
|
||||
x_110 = lean_ctor_get(x_20, 3);
|
||||
x_111 = lean_ctor_get(x_20, 4);
|
||||
lean_inc(x_111);
|
||||
lean_inc(x_110);
|
||||
lean_inc(x_109);
|
||||
lean_inc(x_108);
|
||||
lean_inc(x_107);
|
||||
lean_inc(x_106);
|
||||
lean_dec(x_16);
|
||||
x_110 = l_Lean_Meta_Simp_Context_congrTheorems___default___closed__1;
|
||||
x_111 = lean_alloc_ctor(0, 5, 0);
|
||||
lean_ctor_set(x_111, 0, x_110);
|
||||
lean_ctor_set(x_111, 1, x_106);
|
||||
lean_ctor_set(x_111, 2, x_107);
|
||||
lean_ctor_set(x_111, 3, x_108);
|
||||
lean_ctor_set(x_111, 4, x_109);
|
||||
x_112 = lean_st_ref_set(x_5, x_111, x_17);
|
||||
x_113 = lean_ctor_get(x_112, 1);
|
||||
lean_inc(x_113);
|
||||
lean_dec(x_112);
|
||||
x_114 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_114);
|
||||
x_115 = lean_ctor_get_uint8(x_4, sizeof(void*)*4 + 8);
|
||||
x_116 = lean_ctor_get_uint32(x_4, sizeof(void*)*4);
|
||||
x_117 = lean_ctor_get(x_4, 2);
|
||||
lean_inc(x_117);
|
||||
x_118 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_118);
|
||||
x_119 = lean_ctor_get_uint32(x_4, sizeof(void*)*4 + 4);
|
||||
lean_dec(x_20);
|
||||
x_112 = l_Lean_Meta_Simp_Context_congrTheorems___default___closed__1;
|
||||
x_113 = lean_alloc_ctor(0, 5, 0);
|
||||
lean_ctor_set(x_113, 0, x_112);
|
||||
lean_ctor_set(x_113, 1, x_108);
|
||||
lean_ctor_set(x_113, 2, x_109);
|
||||
lean_ctor_set(x_113, 3, x_110);
|
||||
lean_ctor_set(x_113, 4, x_111);
|
||||
x_114 = lean_st_ref_set(x_5, x_113, x_21);
|
||||
x_115 = lean_ctor_get(x_114, 1);
|
||||
lean_inc(x_115);
|
||||
lean_dec(x_114);
|
||||
x_116 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_116);
|
||||
x_117 = lean_ctor_get_uint8(x_4, sizeof(void*)*4 + 8);
|
||||
x_118 = lean_ctor_get_uint32(x_4, sizeof(void*)*4);
|
||||
x_119 = lean_ctor_get(x_4, 2);
|
||||
lean_inc(x_119);
|
||||
x_120 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_120);
|
||||
x_121 = lean_ctor_get_uint32(x_4, sizeof(void*)*4 + 4);
|
||||
if (lean_is_exclusive(x_4)) {
|
||||
lean_ctor_release(x_4, 0);
|
||||
lean_ctor_release(x_4, 1);
|
||||
lean_ctor_release(x_4, 2);
|
||||
lean_ctor_release(x_4, 3);
|
||||
x_120 = x_4;
|
||||
x_122 = x_4;
|
||||
} else {
|
||||
lean_dec_ref(x_4);
|
||||
x_120 = lean_box(0);
|
||||
x_122 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_120)) {
|
||||
x_121 = lean_alloc_ctor(0, 4, 9);
|
||||
if (lean_is_scalar(x_122)) {
|
||||
x_123 = lean_alloc_ctor(0, 4, 9);
|
||||
} else {
|
||||
x_121 = x_120;
|
||||
x_123 = x_122;
|
||||
}
|
||||
lean_ctor_set(x_121, 0, x_114);
|
||||
lean_ctor_set(x_121, 1, x_1);
|
||||
lean_ctor_set(x_121, 2, x_117);
|
||||
lean_ctor_set(x_121, 3, x_118);
|
||||
lean_ctor_set_uint8(x_121, sizeof(void*)*4 + 8, x_115);
|
||||
lean_ctor_set_uint32(x_121, sizeof(void*)*4, x_116);
|
||||
lean_ctor_set_uint32(x_121, sizeof(void*)*4 + 4, x_119);
|
||||
lean_ctor_set(x_123, 0, x_116);
|
||||
lean_ctor_set(x_123, 1, x_1);
|
||||
lean_ctor_set(x_123, 2, x_119);
|
||||
lean_ctor_set(x_123, 3, x_120);
|
||||
lean_ctor_set_uint8(x_123, sizeof(void*)*4 + 8, x_117);
|
||||
lean_ctor_set_uint32(x_123, sizeof(void*)*4, x_118);
|
||||
lean_ctor_set_uint32(x_123, sizeof(void*)*4 + 4, x_121);
|
||||
lean_inc(x_5);
|
||||
x_122 = lean_apply_8(x_2, x_3, x_121, x_5, x_6, x_7, x_8, x_9, x_113);
|
||||
if (lean_obj_tag(x_122) == 0)
|
||||
x_124 = lean_apply_8(x_2, x_3, x_123, x_5, x_6, x_7, x_8, x_9, x_115);
|
||||
if (lean_obj_tag(x_124) == 0)
|
||||
{
|
||||
lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137;
|
||||
x_123 = lean_ctor_get(x_122, 0);
|
||||
lean_inc(x_123);
|
||||
x_124 = lean_ctor_get(x_122, 1);
|
||||
lean_inc(x_124);
|
||||
lean_dec(x_122);
|
||||
x_125 = lean_st_ref_take(x_5, x_124);
|
||||
x_126 = lean_ctor_get(x_125, 0);
|
||||
lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138;
|
||||
x_125 = lean_ctor_get(x_124, 0);
|
||||
lean_inc(x_125);
|
||||
x_126 = lean_ctor_get(x_124, 1);
|
||||
lean_inc(x_126);
|
||||
x_127 = lean_ctor_get(x_125, 1);
|
||||
lean_inc(x_127);
|
||||
lean_dec(x_125);
|
||||
x_128 = lean_ctor_get(x_126, 1);
|
||||
lean_dec(x_124);
|
||||
x_127 = lean_st_ref_take(x_5, x_126);
|
||||
x_128 = lean_ctor_get(x_127, 0);
|
||||
lean_inc(x_128);
|
||||
x_129 = lean_ctor_get(x_126, 2);
|
||||
x_129 = lean_ctor_get(x_127, 1);
|
||||
lean_inc(x_129);
|
||||
x_130 = lean_ctor_get(x_126, 3);
|
||||
lean_dec(x_127);
|
||||
x_130 = lean_ctor_get(x_128, 2);
|
||||
lean_inc(x_130);
|
||||
x_131 = lean_ctor_get(x_126, 4);
|
||||
x_131 = lean_ctor_get(x_128, 3);
|
||||
lean_inc(x_131);
|
||||
if (lean_is_exclusive(x_126)) {
|
||||
lean_ctor_release(x_126, 0);
|
||||
lean_ctor_release(x_126, 1);
|
||||
lean_ctor_release(x_126, 2);
|
||||
lean_ctor_release(x_126, 3);
|
||||
lean_ctor_release(x_126, 4);
|
||||
x_132 = x_126;
|
||||
x_132 = lean_ctor_get(x_128, 4);
|
||||
lean_inc(x_132);
|
||||
if (lean_is_exclusive(x_128)) {
|
||||
lean_ctor_release(x_128, 0);
|
||||
lean_ctor_release(x_128, 1);
|
||||
lean_ctor_release(x_128, 2);
|
||||
lean_ctor_release(x_128, 3);
|
||||
lean_ctor_release(x_128, 4);
|
||||
x_133 = x_128;
|
||||
} else {
|
||||
lean_dec_ref(x_126);
|
||||
x_132 = lean_box(0);
|
||||
lean_dec_ref(x_128);
|
||||
x_133 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_132)) {
|
||||
x_133 = lean_alloc_ctor(0, 5, 0);
|
||||
if (lean_is_scalar(x_133)) {
|
||||
x_134 = lean_alloc_ctor(0, 5, 0);
|
||||
} else {
|
||||
x_133 = x_132;
|
||||
x_134 = x_133;
|
||||
}
|
||||
lean_ctor_set(x_133, 0, x_14);
|
||||
lean_ctor_set(x_133, 1, x_128);
|
||||
lean_ctor_set(x_133, 2, x_129);
|
||||
lean_ctor_set(x_133, 3, x_130);
|
||||
lean_ctor_set(x_133, 4, x_131);
|
||||
x_134 = lean_st_ref_set(x_5, x_133, x_127);
|
||||
lean_ctor_set(x_134, 0, x_14);
|
||||
lean_ctor_set(x_134, 1, x_18);
|
||||
lean_ctor_set(x_134, 2, x_130);
|
||||
lean_ctor_set(x_134, 3, x_131);
|
||||
lean_ctor_set(x_134, 4, x_132);
|
||||
x_135 = lean_st_ref_set(x_5, x_134, x_129);
|
||||
lean_dec(x_5);
|
||||
x_135 = lean_ctor_get(x_134, 1);
|
||||
lean_inc(x_135);
|
||||
if (lean_is_exclusive(x_134)) {
|
||||
lean_ctor_release(x_134, 0);
|
||||
lean_ctor_release(x_134, 1);
|
||||
x_136 = x_134;
|
||||
x_136 = lean_ctor_get(x_135, 1);
|
||||
lean_inc(x_136);
|
||||
if (lean_is_exclusive(x_135)) {
|
||||
lean_ctor_release(x_135, 0);
|
||||
lean_ctor_release(x_135, 1);
|
||||
x_137 = x_135;
|
||||
} else {
|
||||
lean_dec_ref(x_134);
|
||||
x_136 = lean_box(0);
|
||||
lean_dec_ref(x_135);
|
||||
x_137 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_136)) {
|
||||
x_137 = lean_alloc_ctor(0, 2, 0);
|
||||
if (lean_is_scalar(x_137)) {
|
||||
x_138 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_137 = x_136;
|
||||
x_138 = x_137;
|
||||
}
|
||||
lean_ctor_set(x_137, 0, x_123);
|
||||
lean_ctor_set(x_137, 1, x_135);
|
||||
return x_137;
|
||||
lean_ctor_set(x_138, 0, x_125);
|
||||
lean_ctor_set(x_138, 1, x_136);
|
||||
return x_138;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152;
|
||||
x_138 = lean_ctor_get(x_122, 0);
|
||||
lean_inc(x_138);
|
||||
x_139 = lean_ctor_get(x_122, 1);
|
||||
lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152;
|
||||
x_139 = lean_ctor_get(x_124, 0);
|
||||
lean_inc(x_139);
|
||||
lean_dec(x_122);
|
||||
x_140 = lean_st_ref_take(x_5, x_139);
|
||||
x_141 = lean_ctor_get(x_140, 0);
|
||||
lean_inc(x_141);
|
||||
x_142 = lean_ctor_get(x_140, 1);
|
||||
x_140 = lean_ctor_get(x_124, 1);
|
||||
lean_inc(x_140);
|
||||
lean_dec(x_124);
|
||||
x_141 = lean_st_ref_take(x_5, x_140);
|
||||
x_142 = lean_ctor_get(x_141, 0);
|
||||
lean_inc(x_142);
|
||||
lean_dec(x_140);
|
||||
x_143 = lean_ctor_get(x_141, 1);
|
||||
lean_inc(x_143);
|
||||
x_144 = lean_ctor_get(x_141, 2);
|
||||
lean_dec(x_141);
|
||||
x_144 = lean_ctor_get(x_142, 2);
|
||||
lean_inc(x_144);
|
||||
x_145 = lean_ctor_get(x_141, 3);
|
||||
x_145 = lean_ctor_get(x_142, 3);
|
||||
lean_inc(x_145);
|
||||
x_146 = lean_ctor_get(x_141, 4);
|
||||
x_146 = lean_ctor_get(x_142, 4);
|
||||
lean_inc(x_146);
|
||||
if (lean_is_exclusive(x_141)) {
|
||||
lean_ctor_release(x_141, 0);
|
||||
lean_ctor_release(x_141, 1);
|
||||
lean_ctor_release(x_141, 2);
|
||||
lean_ctor_release(x_141, 3);
|
||||
lean_ctor_release(x_141, 4);
|
||||
x_147 = x_141;
|
||||
if (lean_is_exclusive(x_142)) {
|
||||
lean_ctor_release(x_142, 0);
|
||||
lean_ctor_release(x_142, 1);
|
||||
lean_ctor_release(x_142, 2);
|
||||
lean_ctor_release(x_142, 3);
|
||||
lean_ctor_release(x_142, 4);
|
||||
x_147 = x_142;
|
||||
} else {
|
||||
lean_dec_ref(x_141);
|
||||
lean_dec_ref(x_142);
|
||||
x_147 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_147)) {
|
||||
|
|
@ -3238,11 +3241,11 @@ if (lean_is_scalar(x_147)) {
|
|||
x_148 = x_147;
|
||||
}
|
||||
lean_ctor_set(x_148, 0, x_14);
|
||||
lean_ctor_set(x_148, 1, x_143);
|
||||
lean_ctor_set(x_148, 1, x_18);
|
||||
lean_ctor_set(x_148, 2, x_144);
|
||||
lean_ctor_set(x_148, 3, x_145);
|
||||
lean_ctor_set(x_148, 4, x_146);
|
||||
x_149 = lean_st_ref_set(x_5, x_148, x_142);
|
||||
x_149 = lean_st_ref_set(x_5, x_148, x_143);
|
||||
lean_dec(x_5);
|
||||
x_150 = lean_ctor_get(x_149, 1);
|
||||
lean_inc(x_150);
|
||||
|
|
@ -3260,7 +3263,7 @@ if (lean_is_scalar(x_151)) {
|
|||
x_152 = x_151;
|
||||
lean_ctor_set_tag(x_152, 1);
|
||||
}
|
||||
lean_ctor_set(x_152, 0, x_138);
|
||||
lean_ctor_set(x_152, 0, x_139);
|
||||
lean_ctor_set(x_152, 1, x_150);
|
||||
return x_152;
|
||||
}
|
||||
|
|
@ -9510,7 +9513,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_Array_forInUnsafe_loop___at_Lean_Meta_Simp_tryAutoCongrTheorem_x3f___spec__2___closed__1;
|
||||
x_2 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_tryAutoCongrTheorem_x3f___spec__2___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(395u);
|
||||
x_3 = lean_unsigned_to_nat(399u);
|
||||
x_4 = lean_unsigned_to_nat(11u);
|
||||
x_5 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_tryAutoCongrTheorem_x3f___spec__2___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -12726,7 +12729,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_Array_forInUnsafe_loop___at_Lean_Meta_Simp_tryAutoCongrTheorem_x3f___spec__2___closed__1;
|
||||
x_2 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_tryAutoCongrTheorem_x3f___spec__2___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(454u);
|
||||
x_3 = lean_unsigned_to_nat(458u);
|
||||
x_4 = lean_unsigned_to_nat(11u);
|
||||
x_5 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_tryAutoCongrTheorem_x3f___spec__2___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -17456,7 +17459,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_Array_forInUnsafe_loop___at_Lean_Meta_Simp_tryAutoCongrTheorem_x3f___spec__2___closed__1;
|
||||
x_2 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_tryAutoCongrTheorem_x3f___spec__2___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(455u);
|
||||
x_3 = lean_unsigned_to_nat(459u);
|
||||
x_4 = lean_unsigned_to_nat(61u);
|
||||
x_5 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_tryAutoCongrTheorem_x3f___spec__2___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue